note 58287 deleted from security.globals by danbrown
| From: | danbrown@php.net | Date: | Thu, 15 Jan 2009 16:32:51 +0000 |
| Subject: | note 58287 deleted from security.globals by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149277@lists.php.net to get a copy of this message | ||
Note Submitter: hbinduni at gmail dot com
----
[quote]
If you're under an Apache environment that has this option enabled, but you're on shared
hosting so have no access to php.ini, you can unset this value for your own site by placing the
following in an .htaccess file in the root:
php_flag register_globals 0
[/quote]
adding php_flag in .htaccess under apache 2 will cause internal server error. according to apache 2
manual, php_flag should goes to <virtual> or <directory> section.