Page 1 of 1

How to configure php.ini in .htaccess?

Posted: Fri Nov 18, 2005 7:00 pm
by myleow
I require to turn ON register_global in a directory while maintaining the global php.ini to have register_global off.

Can someone please write the way to do it in .htaccess? I am a newbie when it comes to system admin.

Thank you in advance.

Regards
Mian

Posted: Fri Nov 18, 2005 7:07 pm
by andre_c

Code: Select all

php_value register_globals 1
although i recommend fixing the code so it works without turning register_globals on