|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-12-10 11:28 UTC] ofi at evil dot net dot pl
Description: ------------ Just look at: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/main/fopen_wrappers.c?r1=303823&r2=306136 and http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/fopen_wrappers.c?r1=305507&r2=305698 '-1' is missing in 5_2 branch Test script: --------------- Not needed - just enable open_basedir. Expected result: ---------------- Working php script. Actual result: -------------- Open_basedir restriction... Patchesopen_basedir-5.2.15-fix.patch (last revision 2010-12-10 10:44 UTC by ofi at evil dot net dot pl)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
This seems not to be solved in 5.2.17 either for example open_basedir = /var/www within /var/www/login.php has include ('step2.php'); /var/www/step2.php exist (same right as other files, readable...) openbasedir restriction denies access to the file you need to include('./step2.php') to get it work this is not possible, on my hosts running tousands of different php scripts does work until and including version 5.2.14