Creating a new php.ini file

If you do not have a php.ini file in your public_html folder you can create one by following the steps below.

1. Log in to cPanel, if you haven’t already done so
2. Open File Manager
3. Click New File

php guide


4. In the box labelled New File Name: type php.ini
5. Ensure New file will be created in: contains /public_html



6. Click Create New File

Next Step: Customise the php.ini file settings in Code Editor
  • Email, SSL
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Enabling PhpmyAdmin for cPanel

How to Enable Phpmyadmin? 1. Login to your WHM > Feature Manager 2. You can see "Add a new...

How to Modify a subdomain ?

Login into cPanel using provided URL and its credentials Go to Domains section Click on...

How to back up and restore emails in cPanel webmail?

If you use cPanel mail service for your domain, it is possible to back up (export) your emails...

How to set up scheduled tasks (cron jobs) in Cpanel?

1. Login into cPanel using provided URL and its credentials 2. Go to Advanced section 3. Click on...

Customise the php.ini file settings in Code Editor

1. Log in to cPanel, if you haven’t already done so 2. If you haven’t already done so, create a...