From Sydapedia
Jump to: navigation, search

The function phpinfo() is used in php to display the details of how PHP has been setup on a server.

If you want to just see the details of this file and are not interested in learning anything else about PHP here is the easy way to accomplish this.

  1. Open Notepad
  2. Paste this code into it:
  1. Save the file as phpinfo.php (it doesn't matter as long as it ends in .php. NO SPACES, simplicity is a good thing with this.
  2. Upload the .php file to your web server (It probably won't matter where. It could, but if you are not familiar with this, there is no way you would know about that).
  3. Open your web browser and navigate to the .php page
Personal tools