How to access the php.ini from cPanel?

To access the php.ini file from cPanel, you can follow these steps:

  1. Log in to your cPanel account.

  2. Scroll down to the "Software" section and click on the "Select PHP Version" icon.

  3. In the PHP Version Manager, you will see an option to "Switch to PHP Options" or "Edit Configuration".

  4. Click on the option to edit the configuration, and you will be able to view and make changes to the php.ini file.

Watch a course Learn object oriented PHP

Alternatively, you can also access the php.ini file using the file manager in cPanel and look for the php.ini file in the root directory of your website.