How can I customise my PHP.INI file?

There are times when you will need to modify some settings the in the default PHP.INI file. When using Plesk, the PHP.INI file is shared however you have control over many of the common PHP flags – it is a little technical though.

First, you need to create a .htaccess file in your document root (/httpdocs), it is within this file that you add your custom PHP flags, here’s some examples:

To switch off register globals: php_flag register_globals off

To switch on magic quotes: php_flag magic_quotes_gpc on

You can do this with most PHP flags, if you have any problems simply contact the Helpdesk for further assistance,

Was this helpful?