Tuesday, August 4, 2009

How to find the locaion of php.ini

To find the location of your php.ini file, copy and paste the below code into a php file and upload it to your server.

<?php
phpinfo();
?>

When you access the file it will look like the below image. The red arrow is pointing to the location of your php.ini file. In Linux environments this is the most common location.


No comments:

Post a Comment