Problems with php.ini

ukhostingdeals

New member
Joined
Mar 5, 2009
Messages
4
I had a question from a customer of mine today and I am a bit stuck as I am new to all this. My customer said:

I have uploaded my site and I get

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

I have a php.ini file installed in both the public_html and Admin folders

this states

register_globals = 1

How do I fix this?
 
Check his .htaccess file in public_html if you run PHP as mod_php. You can try adding "php_value register_globals On" to it.
 
Also see what exactly he's uploading. No scripts from the past few years should be using Register Globals, so he's either using bad practices or an old script with possible exploits.
 
Back
Top