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.
- Open Notepad
- Paste this code into it:
<?php phpinfo(); phpinfo(INFO_MODULES); ?>
- 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.
- 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).
- Open your web browser and navigate to the .php page