PDA

View Full Version : php.ini



Generalissimo
04-12-2005, 11:13 AM
OSCommerce is telling me to:

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


How do I access php.ini to edit it? Can I do this in WHM?

moonshield
04-12-2005, 12:20 PM
SSH in and then run use your text editor to edit /etc/php.ini

MarkB
04-13-2005, 12:54 AM
Or, if you use Cpanel it could be in /usr/lib/php.ini or /usr/local/lib/php.ini

Type: locate php.ini to find it

Then use vi or pico to edit it, and look for the line regarding register_globals. Make the necessary changes, save it, and then restart Apache.

(Unfortunately, no you can't do it in WHM)