To modify the PHP settings in cPanel, you can follow these steps:
Login to your cPanel account.
Go to the Software section and click on "Select PHP Version."
Click on the "Switch to PHP Options" link in the page's top-right corner.
In the new window, you will see the Current PHP version or which domain uses which version. Afterward, go to the Extensions and Options tab from PHP Selector.
Here you can see the list of PHP settings that can be modified. You can modify any of these settings by clicking on the value next to it and selecting a new value.
Once you have made the necessary changes, click on the "Save" button to save the changes.
To locate the php.ini file in cPanel, you can follow these steps:
Log in to your cPanel account.
Once logged in, look for the "Files" section and click "File Manager."
In the new window that appears, select the directory where your website files are located. This is usually the "public_html" directory.
In the directory listing, look for the "Settings" button in the top right corner and click on it. Select "Show Hidden Files."
Look for the php.ini file in the directory.
To edit the php.ini file, right-click on the file and select "Edit."
Make the necessary changes to the file and save the changes.
Comment