ID: 34959 Updated by: [EMAIL PROTECTED] Reported By: shanxe at gmail dot com -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Linux PHP Version: 4.4.0 New Comment:
Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2005-10-22 18:57:09] shanxe at gmail dot com Description: ------------ server: Apache 1.3.33 PHP: 4.3.11 with Zend Optimizer enabled Module: PHP-CGI/0.1b My site is hosted at a shared hosting Linux server, So I couldn't edit php.ini. I want to set register_globals to off and error_reporting to off, I tried with a .htaccess file with 'php_value register_globals 0' in it. But it backfired with a 505 error. I tried ini_set( ); I tried using 'php_flag register_globals "off"' . But nothing worked. Then I searched Google and came through a lot people having a same error in setting up PHP through .htaccess, when there PHP module is loaded as PHP-CGI/0.1b (Ithink PHP is compiled as CGI). I can unset GLOBAL vars by comparing with GET, But I need an easier solution. Is there a some sort of a work around for this. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34959&edit=1