Phpinfo

From Sydapedia
Revision as of 08:33, 3 February 2008 by Gpfontaine (talk | contribs) (New page: 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 any...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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:
<?php
	phpinfo();
	phpinfo(INFO_MODULES);
?>
  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