ID: 50374 Updated by: [email protected] Reported By: tom_borgo at hotmail dot com -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: XP SP3 PHP Version: 5.3.1 -Assigned To: +Assigned To: pajoye New Comment:
It works only with the FastCGI SAPI, not apache. We don't support ZendServer so I won't say what should work or not with their version. Can you try using a snapshot please (FCGI VC9)? Previous Comments: ------------------------------------------------------------------------ [2009-12-03 15:39:18] [email protected] It works only with the FastCGI SAPI, not apache. We don't support ZendServer so I won't say what should work or not with their version. Can you try using a snapshot please (FCGI VC9)? ------------------------------------------------------------------------ [2009-12-03 15:27:27] tom_borgo at hotmail dot com Description: ------------ Configuration: WinXP SP3 Fr, Apache 2.2 (winnt), PHP 5.3.1 (but problem is in 5.3.0 too). PHP: NTS (tested with VC6, VC9 and VC8 version from ZendServer) Used in CGI mode .user.ini are not parsed for script in subdirectory of the .user.ini. Sould be as it should works like .htaccess. Second problem, if php.ini as a [PATH=/path/] section, /path/.user.ini are no more parsed. Reproduce code: --------------- Ex: .user.ini is display_errors = 0 (i try with Off, "Off", "0", same) main php.ini is display_errors = 1 /www/.user.ini /www/administrator/phpinfo.php (with <?php phpinfo();?>) PHP Info, in /www/administrator/, gives display_errors = 1, but should be 0 as it is defined in the www/.user.ini (should be taken in the subdirectory, like .htaccess) Second strange problem: if in php.ini there is: [PATH=/www/] display_errors = 1 In this case a phpinfo in /www/ give display_errors = 1, even if .user.ini in /www/ is configured display_errors = 0. Expected result: ---------------- Expected to work like .htaccess for subdirectory. Expected to work even with a [PATH] section for the directory is defined (.user.ini should be prioritary to the [PATH] section). Actual result: -------------- Explained in the code section. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50374&edit=1
