|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20149 register_globals via Directory Area
Submitted: 2002-10-29 09:16 UTC Modified: 2002-10-29 09:33 UTC
From: saschahb at gmx dot net Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 4.3.0-pre2 OS: Linux Suse 8.1
Private report: No CVE-ID: None
 [2002-10-29 09:16 UTC] saschahb at gmx dot net
I'm trying to set register_globals on for a specific directoy. i used the directory statement like this:

<Directory /home/httpd/webmail>
    Options FollowSymLinks
    AllowOverride All
    php_admin_flag register_globals on
    php_flag register_globals on

but phpinfo and everything else shows me that i can't set register_globals on..


sascha schmidt


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-29 09:18 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

On and Off dont work in httpd.conf and .htaccess, use 1 and 0 instead. (This is not a PHP problem, but an Apache limitation).

 [2002-10-29 09:33 UTC] saschahb at gmx dot net
tried the same with 0/1 (not on/off).

using apache2 with it.
the same: it does not work. perhaps you could test it by yourself. perhaps you'll see the same result.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Mar 26 16:03:37 2023 UTC