How do I change my php.ini settings or PHP Options?

If you wish to see or change what php.ini settings or PHP Options are currently enabled on your version of PHP, under the SOFTWARE section of your cPanel click on the "Select PHP Version" icon.

From this screen you can change the PHP version for your account and can also control what extensions are enabled.

However, if you select the "Switch to PHP Options" on the right hand side of the screen you can view and change the php.ini settings or PHP Options that are applied to your account.

Switch to PHP Options

Typically users may wish to change values such as:

  • upload_max_filesize - the maximum file size that they can upload
  • max_execution_time - the maximum time a process will run before it times out
  • memory_limit - the amount of memory that their process can use

Please note that this is the only method used to control your php.ini settings or PHP Options. Uploading your own custom php.ini file will have no effect.

Custom php.ini settings

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is Lets Encrypt SSL?

Lets Encrypt is an automated SSL certificate that can be used to protect both your website and...

How to password protect directories or folders

Simply click on the "Directory Privacy" icon in the "Files" section of your cPanel and the wizard...

What is a .shtml file type?

A web file type with the suffix of ".shtml" (rather than the usual ".html" or ".htm") indicates...

How do I change my version of PHP?

PHP is a widely-used, open source scripting language that is especially suited for website...

Disk Space Limit Exceeded

If you receive a warning that you are approaching the limit of the disk space allocated to your...

Powered by WHMCompleteSolution