Linux Commands and Scripts

How To Create PHP Info Page

In this article we have shown how to create PHP info page. PHPinfo page retrieve information about PHP variables.

1. Open a simple text editor like notepad and enter the following:

<title>PHP Test</title>
<?php phpinfo(); ?>

2. Save the text document as “phpinfo.php”

3. Upload the document to your public_html or httpdocs folder

4. Using your web browser, go to (Replace “” with your actual web address)

That will load the file you have just created into your web browser and show you all of the php information about modules loaded, what settings each php module has and some apache settings too as well as version numbers so you can check for compatibility.

[Need assistance to fix this error or install tools? We’ll help you.]

Related Articles