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

Is it possible to modify php.ini on shared or reseller hosting account?

U can customize these settings by putting a custom php.in in public_html folder or by writing...

How to Create database in cPanel?

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

How to scan Mail/Entire Home Directory/Public Web Space/Public FTP Space from cPanel?

1. Login in cPanel using provided URL and its credentials. 2. Click on Virus Scanner option. 3....

How to Allow Remote Connection to MySQL Server in cPanel/WHM Server?

To prevent potential security risks to MySQL server, by default remote MySQL connections are...

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...