|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-30 09:41 UTC] phpbugs at noerenberg dot de
[2002-10-06 20:45 UTC] iliaa@php.net
[2002-10-22 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
Hello, open_basedir has trouble with symlinks: File: /var/www/server/xyz.com/ezdemo/htdocs/classes/ezfile.php Symlink: /kunden/hosting/server -> /var/www/server Unless I set open_basedir to '/' I get some errors like these: open_basedir set to '/var' or '/kunden/hosting/server/xyz.com/ezdemo': Warning: open_basedir restriction in effect. File is in wrong directory in /var/www/server/xyz.com/ezdemo/htdocs/classes/ezfile.php on line 282 Warning: fopen("/kunden/hosting/server/xyz.com/ezdemo/htdocs/classes/cache/02208adcfca7b0a5f64d1e07f5f5c385.php", "w+") - Operation not permitted in /var/www/server/xyz.com/ezdemo/htdocs/classes/ezfile.php on line 282 open_basedir set to '/kunden' Warning: open_basedir restriction in effect. File is in wrong directory in Unknown on line 0 Warning: Failed opening '/kunden/hosting/server/xyz.com/ezdemo/htdocs/index_admin.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 Regards, Martin