How to get information of the Php installed on your server.
Just by writing one short line of php code, you can extract 4 or 5 pages of information about the php installed on your server.
Write the following codes in a notepad and save as "phpinfo.php" in your "www" folder.
<html>
<head>
<title>PhpInfo</title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html> |
The word "phpinfo()" is one of the Php functions called "Php Built in Function".
Type http://localhost/phpinfo.php in your browser and click enter. The following will appears.
