Post Description: how to find locate where php.ini file is located at windows linux php
This Post Has Been Viewed 143 Times Since Fri Feb 29, 2008 12:01 pm Posted By web hosting with 0 replies
POST# 971
Posted On: Fri Feb 29, 2008 12:01 pm
today i had to do some changes on my server, and one of the things i had to do was to change some options on my web server. i didn't remember where my php.ini file was located at so i took i guess, i found one but i was user since i have php installed on windows machine.
then the light clicked on my head, its very easy to find out where its located. just create a phpinfo() file
just copy and paste the following code into a blank notepad and save it as phpinfo.php and upload to your wesbite:
<?php
phpinfo();
?>
then just look for a line where it says:
Configuration File (php.ini) Path
that's it