HostOnNet Blog

How to Find the Location of Your php.ini File

Looking for Linux Server Admin or WordPress Expert? We can help.

Create a script to display your php information

You’ll need to create a very simple php script and place it in your home directory. Open a text editor and create file called phpinfo.php with this code:

<?php phpinfo(); ?>

Save the file and upload this file to the public_html directory then call it phpinfo.php

phpinfo

In your browser address bar, access the file by typing in: http://yourdomain.com/phpinfo.php

About Annie

I've been working in Technical Section for over 10 years in a wide range of tech jobs from Tech Support to Software Testing. I started writing blog for my future reference and useful for all.
Posted in PHP

One Response to How to Find the Location of Your php.ini File

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.