Home > Code Snippets > Server information
Server information
Description
A useful built-in PHP function that displays information about the PHP installation on your server, including version number, available libraries etc.
The code
<?php
/**
* View this file in your browser.
*/
phpinfo();
?>
Get the code
Download the file to your computer: Click here to get the file
