ispCP - Board - Support
ispcp omega 1.0.6 After updating PHP5 I get this error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: ispcp omega 1.0.6 After updating PHP5 I get this error (/thread-12654.html)



ispcp omega 1.0.6 After updating PHP5 I get this error - al_paun - 01-12-2011 11:29 PM

php5-cgi: PHP Warning: Unknown: open_basedir restriction in effect. File(/var/www/ispcp/gui/index.php) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in Unknown on line 0

I've upgraded to 1.0.7 but still get this error.

Can anyone help please?


RE: ispcp omega 1.0.6 After updating PHP5 I get this error - al_paun - 01-13-2011 01:13 AM

I've found a workaround this ...
I've modified php.ini for every domain removing trailing slash

/var/www/ispcp/gui/ -> /var/www/ispcp/gui

then restarting apache then worked.

What is strange that ispcp comes with template with slash at the end but php 5.2.9 I have installed doesn't accept this slash.

Remove the slash also in /etc/ispcp/fcgi/php5/php.ini at open_basedir line for the future created domains.


RE: ispcp omega 1.0.6 After updating PHP5 I get this error - motokochan - 01-13-2011 03:15 PM

I seem to recall there being a bug in PHP concerning paths with an ending slash, but I can't pull it up right now. The fix for that possibly caused the error.