phpinfo() 

 

 

 

Home | Back | Contact Us

 

 

 

 

 

 

A phpinfo file is a small script that you can place on your server to return various information about your server and the php installation on that server.

 

 

 

 

*

How do I create a phpinfo file?

 

 

 

 

 

Open your text editor application, if on a Macintosh you could use BBEdit or Textedit, then simply type or copy and paste the following code into a new document:

<?php phpinfo(); ?>

Save the document as: info.php

Upload the file to your server and then open your internet browser at the address of the info.php file:

http://yourserver/info.php

If PHP is installed you will see a page of information regarding PHP, if you just see the code that you typed into the info.php file then your server is not running PHP.

We have prepared a php info file, if you find it easier you can Download Demo

 

 

 

 

 

 

 

 

 

Copyright © Mike Brackenridge 2006 - 2020