Where is the php.ini file located on my dedicated server?

Linux/Unix Servers:

On virtually all distributions of Linux the php.ini file is located in:


Windows Servers:

The location of php.ini varies a bit more in the Windows environment.

If you have Plesk Control Panel installed on your server, the php.ini file should be located in one of two locations:

          C:\program files\parallels\plesk\additional\php\php.ini
          C:\program files\swsoft\plesk\additional\php\php.ini

If you do not have Plesk installed the following locations are often used as default locations:

          C:\program files\php\php.ini

If your php.ini files is not in any of the above locations, you can simply do a search for "php.ini" by clicking on the 'Start' button and then click on 'search'.

This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.comchat with us online or give us a call at 866-2-CODERO. 

Posted in
Last update:
2015-12-03 20:39
Average rating:0 (0 Votes)