i get a strange warning with an installation of owncloud:
Code:
Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/srv/www/domain.com/web/file) is not within the allowed path(s): (/var/www/clients/client1/web60/web:/var/www/clients/client1/web60/tmp:/var/www/domain.com/web:/srv/www/domain.com/web:/usr/share/php5:/tmp:/usr/lib/cgi-bin/mailman:/var/www/clients/client1/web60/cloud/data) in /var/www/clients/client1/web60/web/cloud/lib/helper.php on line 325
where is the /srv set? the path for all webs is within /var/www/...
Posts: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
According to the error message the script you called executed the command is_executable('/srv/www/domain.com/web/file); which was blocked by the open_basedir restriction. What you could try is that you add /srv/www to the open basedir path and try again.
Posts: 335
Thanks: 24
Thanked 43 Times in 39 Posts
Look, the fact that /srv/www/ does not exist on your system is evidence of a bug or a misconfiguration in the PHP script in question.
The reason that /srv/www/... is included in ISPConfig's open_basedir list by default is because nginx uses that path as its document root (please correct me if I'm wrong here, Till).
This isn't a PHP debugging forum, but humor us and post the relevant contents of the file and the issue may be obvious.
Last edited by cbj4074; 3rd January 2012 at 01:33.
i thought that since there is no such string as 'srv' in the whole directory of the php-script in question, the information has to come somewhere from the configuration of php/ispconfig.
anyways, i now found out that the script gets the open_basedir-paths and checks for stuff there. thats why the /srv/... warning is displayed.
Recent comments
4 hours 45 min ago
5 hours 44 min ago
9 hours 31 min ago
10 hours 45 min ago
14 hours 22 min ago
21 hours 37 min ago
1 day 6 hours ago
1 day 8 hours ago
1 day 23 hours ago
2 days 1 hour ago