Knowledgebase

How To Create a PHP.ini file

To create a new php.ini file in your cPanel:

1. Go to the Files section of your cPanel.

2. Click on the File Manager icon.

cPanel - File Manager

3. Select the root directory for your site. The default for the primary is public_html.

4. Click the + File button at the top left of the page.

File Manager - New File

5. In the pop-up box, enter php.ini in the New File Name field. Ensure the root directory is in the bottom box.

File Manager - Add New php.ini File

6. Click Create New File.

7. Locate and right-click the new php.ini file and select Edit.

8. Then click the Edit button again.

9. Click Save to save your changes.


  • 0 Users Found This Useful
Was this answer helpful?