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 Imunify360?

Imunify360 is a powerful all-in-one security solution for Linux web servers powered by AI, based...

How do I login to cPanel?

We recommend that you always login to cPanel using our secure connection from within your Client...

Why is there a folder called .well-known in my webspace?

What is the .well-known folder or directory in my public_html directory? I have not created or...

Disk Space Limit Exceeded

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

How do I change my version of PHP?

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

Powered by WHMCompleteSolution