Total Pageviews

Thursday, October 14, 2010

changing domain specific values for phpinfo() page

example:to change the value of register_globals on for a particular domain and to keep the same off serverwide----
                  Add the following in the cofiguration file of apache(usr/local/apache/conf/httpd.conf)

<Directory.....
php_values global_register=On(If this doesnt work, In the place of ON try 1)
</ Directory>
save and restart apache.then take the ip in browser again.

No comments:

Post a Comment