How to modify PHP variables in cPanel?

There are times users need to bump PHP variables to meet the requirements set by their application. Here is a guide on how to change PHP settings via INI editor:

 

1. Log into the cPanel for your account.

2. Once logged in, click on the icon called MultiPHP INI Editor.

3. Select your domain from the dropdown.

4. Choose the PHP variable you need to adjust and modify the value on the textbox.

5. Click the Apply button.

Note: Some PHP settings, such as memory_limit, may be overridden by global server limits. If your changes don't seem to take effect, send us a support ticket to confirm whether these restrictions are in place.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What database settings do I use for scripts?

Server Hostname: localhost Database Username: <your username>_<database name> e.g....

Do you support Silverstripe Hosting?

Yes, we run Linux servers designed to run the New Zealand developed Silverstripe application. If...

Strict Standards Errors for PHP

If you are getting errors similar to:Strict Standards: Non-static method JLoader::import() should...

Fix permissions of all directories and files

To change all the directories to 755 (-rwxr-xr-x): find /home/xxx/public_html -type d -exec...

How to create a MySQL database

To create a new MySQL database, you can use a the MySQL Database Wizard from cPanel. In...