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