register_globals

tsiou

Verified User
Joined
Sep 15, 2006
Messages
236
Location
Larisa, Greece
Hi,
i need to change the register_globals value for a domain.
I know that it's covered in many threads but the php_value register_globals on doesn't work.
I have in my httpd.conf AllowOverride All in /home/* section and None at / and at /var/www/html
i use a .htaccess file but phpinfo for that domain still shows globals off
Is there anything else i should check?
 
Did you make the change using DirectAdmin under Custom HTTPD Configurations?

And it should be:

Code:
php_admin_flag register_globals on
 
That is because phpinfo shows the global configuration from php.ini. It is not domain specific.
 
To see a domain-specific phpinfo is fairly easy; just run it from the domain.

Jeff
 
Strange, still doesnt work...
I tried with .htacces, tried through DA custom httpd configuration and still phpinfo php file running from inside the domain remains the same whatever i change...
Is there anything else i can check?
 
In php info there are 2 columns, one for local and one for main. Make sure you are looking at local.

If all else fails give me access to your server and I will fix it.
 
Back
Top