"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke

The sure way finding the php.ini file is using phpinfo:

Create an empty file and add the following to it:

phpinfo

Save it as anything.php (anything is really anything, replace it with anything you want)

Upload this file to your website and load it from a browser.

Look for “Configuration File (php.ini) Path”.

There you go. Feel free to comment here is you have any questions.

Leave a Reply