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. 

Related Articles

No related articles were found.


No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "Where is the php.ini file located on my dedicated server?"

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

* Comment:
* Enter the code below:


Article Details

Last Updated
5th of June, 2013

See also:
Troubleshooting your server.

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions

99% thumbs up 0% thumbs down (3290 votes)

How would you rate this answer?

Thank you for rating this answer.