HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   FastCGI and PEAR? (http://www.howtoforge.com/forums/showthread.php?t=56093)

Steveorevo 7th February 2012 23:03

FastCGI and PEAR?
 
Can I use FastCGI with PEAR? Switching to SuPHP runs slower but the problem doesn't appear. On Fast-CGI I get:

Warning: require_once(): open_basedir restriction in effect. File(/usr/share/php/PEAR/Exception.php) is not within the allowed path(s): (/var/www/clients/client2/web15/web:/var/www/clients/client2/web15/tmp:/var/www/ugroup.info/web:/srv/www/ugroup.info/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client2/web15/web/wp-content/plugins/backupbuddy/lib/dropbuddy/pear_includes/HTTP/Request2/Exception.php on line 47


I'm running on Ubuntu LTS 10, ISPConfig Version: 3.0.4.2 and unfortunately this is making the popular BackupBuddy under WordPress fail. Feedback greatly appreciated!

Regards,
Stephen

Steveorevo 7th February 2012 23:30

Resolved
 
Simply appending /usr/share/php under site options for "PHP open_basedir" for the given site definition resolved the issue. Per falko's directions in:

http://www.howtoforge.com/forums/sho...highlight=PEAR


ISPConfig 3 Rocks!!!

Great work!


All times are GMT +2. The time now is 07:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.