How to specify a custom php.ini for a web site

Linux: 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
  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

Was this answer helpful?

 Print this Article

Also Read

Google Email MX Setup in cPanel

Login to your cPanel and open Zone Editor Click on Manage Remove all existing MX records Add...

Unblock IP address from server firewall

All our shared Linux hosting servers are protected by firewall. While the purpose of a firewall...

Domain has exceeded the max defers and failures per hour

What is this error?If you are receiving an error similar to "Domain example.com has exceeded the...

How to force SSL with .htaccess

You can force an HTTPS connection on your website by adding these rules in your website's...

How fast are accounts set up?

QSS Hosting strives for a setup time of no more than 60 minutes per shared hosting order. If an...