- Forums
- Linux Systems
- How To Find Locate Where Php.ini File Is Located At Windows Linux PHP
This Page Contains information about How To Find Locate Where Php.ini File Is Located At Windows Linux PHP By wallpaperama in category Linux Systems with 0 Replies. [2916], Last Updated: Sat May 18, 2024
wallpaperama
Thu Jun 21, 2007
0 Comments
1876 Visits
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) Paththat's it