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

Modifying the htaccess file to use a custom php.ini file throughout your website

This guide provides instructions for modifying .htaccess to use a custom php.ini throughout your...

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

My e-mail is going to the bulk or spam folder!

You can create an SPF record from cpanel > Email Authentication for your all domains that are...

I lost or forgot my cPanel or WHM password - how can I reset it?

Resetting your cPanel password and finding your cPanel username is easy and can be handled...

Migration of cPanel/WHM From other Servers

Hello, How to Migrate an cPanel from one server to another server without Root access over FTP?...