PHP info(): What is PHP configuration?

PHP info is very powerful tool to know all details about PHP configuration, server environment  and server settings.
phpinfo()
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

First PHP page for Hello world output and checking installation with phpinfo() and uses of comments


Introduction to PHP Collect php.ini settings by using ini_get() Guide to installation and How to write our first PHP Script

Subscribe to our YouTube Channel here

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    vikas kumar

    21-01-2012

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

    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer