All Collections
How do I change php.ini settings?
How do I change php.ini settings?
shkumbin bunjaku avatar
Written by shkumbin bunjaku
Updated over a week ago

To change the php.ini file in cPanel, you can follow these steps:

  1. Log in to your cPanel account using your username and password.

  2. Once logged in, navigate to the "Software" or "Service" section and look for the "Select PHP Version" or "MultiPHP Manager" option. Click on it.

  3. In the PHP version selector, you will see the current version of PHP being used by your account. Click on the "Options" or "Settings" link next to it.

  4. A new page will open, showing the PHP options and settings. Here, you will find a link that says "Switch to PHP Options" or "Switch to PHP Settings." Click on it.

  5. You will now see a list of configurable PHP directives and their current values. Locate the directive you want to modify, such as "upload_max_filesize" or "memory_limit."

  6. Click on the current value of the directive, and a dropdown or input field will appear. Enter the desired value for the directive.

  7. After making the necessary changes, scroll down to the bottom of the page and click on the "Save" or "Apply" button to save your modifications.

  8. The php.ini file will be automatically updated with the new values you specified.

Did this answer your question?