http://localhost/phpinfo.php

phpinfo.php is PHP script that contains information about PHP. The script is part of the web server configuration and is provided to all web hosting companies to display information as per specific requirements. Such as whether your website is working properly or not, how many visitors have visited it and if any errors occurred. In case of non working website, this phpinfo.php also gives information of possible reasons.

The phpinfo.php script is an important resource that allows you to test the functionality of your website.

How to Easily Create and Use a phpinfo file in your php site? Is it difficult? Maybe not if you know a little bit about php. Just like you can create an html document to display captions or change colors in word processing software, developers can use the command line, phpinfo, to display and change information about their web pages. Everything from lines and words that begin with php followed by a semicolon, to any symbol (including the question mark) in the phpinfo file has meaning to php.

In about 60 seconds you can have a fully functional phpinfo() SiteInfo Page on your localhost page. It’s pretty easy. Following are the steps:

phpinfo() is a very, very powerful phpinfo() function. It can be used in several ways, all of which are pretty self-explanatory. The best thing about phpinfo() is that it can output almost any information you’d ever need regarding the PHP script being run. This can include information like what’s being called from within the script, the globals/aliases array, the path to the script, and plenty more! All you have to do to use phpinfo() is add the following code to your php script:

phpinfo();

phpinfo is located in /var/www/html/phpinfo. If you browse to this directory when this site is installed, it will show you information about the software configured in the server. This includes information about the php extensions installed and useful statistics like number of queries per minute. There are other files in /var/www/html/phpinfo, but this is the file that

en_USEnglish