ispcp omega 1.0.6 After updating PHP5 I get this error
|
Author |
Message |
al_paun
Posts: 4
Joined: Mar 2010
Reputation: 0
|
ispcp omega 1.0.6 After updating PHP5 I get this error
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?
(This post was last modified: 01-13-2011 12:29 AM by al_paun.)
|
|
01-12-2011 11:29 PM |
|
al_paun
Posts: 4
Joined: Mar 2010
Reputation: 0
|
RE: ispcp omega 1.0.6 After updating PHP5 I get this error
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.
|
|
01-13-2011 01:13 AM |
|
User(s) browsing this thread: 1 Guest(s)