How To Find Your PHP.INI
I often come across this question: Where is my php.ini located? Here is a simple solution.
To find out which php.ini your apache server is using please follow the steps below:
1. Type in the following in a file named say test.php and save it in document root of your webserver, normally htdocs for apache:
2. Load the file in your browser. For example if you access your home page like:
http://
3. Search for php.ini in the response text. On that line you will find the full path to your php.ini
Filed under How To, PHP, Tech Note, Web, Web Services |
|
RSS 2.0 |
Trackback this Article
|
Email this Article
You may also like to read |





































November 16th, 2005 at 11:43 pm
[...] 1. Open php.ini (How to find it?) 2. Search for zend.ze1_compatibility_mode 3. Change it to Off as shown below zend.ze1_compatibility_mode = Off 4. Save php.ini and restart Apache [...]
December 6th, 2006 at 7:33 pm
facing problem in file attachment upload in any browser. Please seggest me the solution.