Knowledgebase

Configuring Safe Mode Within php.ini

If you are required to alter the php safe mode setting for a software application you wish to run, you can do this a number of ways.

Within our hosting servers, shared and reseller clients can do this by creating a php.ini file and locating it in their root directory ( /home/username ) of their site.

1. Create a php.ini in your favorite editor. Usually notepad is best.

2. Turn safe mode on or off by adding a line to look like one of the options below:

safe_mode = Off

or if you wish to turn safe mode on

safe_mode = On

3. Save the file and upload to your root directory (/home/username) as php.ini

That's it!

You have now changed the individual php.ini safe mode setting for your account.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article


Powered by WHMCompleteSolution

Language: