Page 1 of 1

PEAR installation + Open Game Panel

Posted: Tue Feb 07, 2017 9:08 pm
by clausdk
Hello @ll

I've been trying to get PEAR working with Open Game Panel. So far without any success.
First I did the apt-get install php-pear, and that dident work. Then I tried downloading the pear from php.net and do the php go-pear.phar and install it in the /usr/local/bin folder. Still not working.

I also took a look inside php.ini through the web panel and added include_path = ".;/usr/local/bin"

Maybe someone has an idea how I can fix it?

Thanks!

System information:

Ubuntu 16.04
Latest version of VestaCP ( New installation )

Re: PEAR installation + Open Game Panel

Posted: Thu Feb 09, 2017 8:22 am
by skurudo
There is guide for web installation of Open Game Panel
https://github.com/OpenGamePanel/OGP-We ... stallation

Re: PEAR installation + Open Game Panel

Posted: Wed Apr 12, 2017 1:08 am
by henu_45
Hello, I also use it, and I managed to make it work:
Only edit the file /home/$user$/conf/web/httpd.conf and change this config:

Code: Select all

php_admin_value open_basedir none

*$user$ Is the user you assigned in vestacp to manage the webpage

Re: PEAR installation + Open Game Panel

Posted: Wed Apr 12, 2017 12:15 pm
by skurudo
henu_45, not very secure, but if you wish badly, then ok.

Re: PEAR installation + Open Game Panel

Posted: Wed Apr 12, 2017 5:46 pm
by henu_45
Is there any other effective method to work without affecting security? Is the only way I got it, but I'm interested if there is another solution.

Re: PEAR installation + Open Game Panel

Posted: Wed Apr 12, 2017 5:57 pm
by henu_45
The problem basically is that pear is located outside of the default basedir folder, but I do not know how to install pear in that directory.

Re: PEAR installation + Open Game Panel

Posted: Tue Apr 25, 2017 3:43 pm
by skurudo
You can add open_basedir folders as many as you wish and as you need.
See what script want ;-)

Re: PEAR installation + Open Game Panel

Posted: Tue Apr 25, 2017 8:45 pm
by ArisC
Check this Panel for Game Management https://pterodactyl.io/ It's open source.