PHP info(): What is PHP configuration?

PHP info is very powerful tool to know all details about PHP configuration, server environment  and server settings. It tells about the PHP version running in the server. The settings can be changed in php.ini file . In a shared hosting environment you may not get access to change your php.ini file settings. Contact your hosting provider for any changes you require or to enable features.

Some of the settings inside php.ini can be changed by using ini_set() function .

Here is the simple one line code for printing / showing PHP settings.

<?Php

echo phpinfo();
?>
Store this code in any php file and open in your server.
Name Description
MySQLhow to check mysql support in php by using phpinfo
MSSQLhow to check MSSQL support in php by using phpinfo
GDChecking GD support used for image handling
Jsonhow to check Json support for sending data by phpinfo
mcryptFor encrypting data or storing password
Visitors Rating
Your Rating


Google+

vikas kumar

21-01-2012

Yahoooooooo......!!!!!! Thanks for telling phpinfo();

Post Comment This is for short comments only. Use the forum for more discussions.




HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2016 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer