<?Php
echo phpinfo();
?>
phpinfo() is a very powerful tool to know all details about PHP configuration, server environment and server settings.

Some of the settings inside php.ini can be changed by using ini_set() function .
Store the above code in any php file and open in your server.| Name | Description |
|---|---|
| MySQL | how to check mysql support in php by using phpinfo |
| MSSQL | how to check MSSQL support in php by using phpinfo |
| GD | Checking GD support used for image handling |
| Json | how to check Json support for sending data by phpinfo |
Author
🎥 Join me live on YouTubePassionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.
| vikas kumar | 21-01-2012 |
| Yahoooooooo......!!!!!! Thanks for telling phpinfo(); | |