Jump to content

Archived

This topic is now archived and is closed to further replies.

swflaman

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

Recommended Posts

I can't find a php.ini file anywhere in my site! It is an oscommerce site reinstalled from a backup on a new server since my old server went under without notice. PLEASE HELP!
thanks

Share this post


Link to post
Share on other sites
phpinfo() will give you its location.

And if your software requires register globals enabled, change your software.

Share this post


Link to post
Share on other sites
Create a script with the following line in it
[code]<?php phpinfo(); ?>[/code]
upload it to your server, and invoke it. The output will tell you where php.ini is.

Ken

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.