PHP MySQL connection status using phpinfo

<?Php
echo phpinfo();
?>
Sometime we have to ensure that mysql support is enabled inside php configuration and is working. In higher version of PHP, mysql support is integrated so no need to manually enable them from config file.

However we can check the status of mysql support by using phpinfo function before going for phpmyadmin or any other tools. This is what we will get if we scroll down a bit from phpinfo display screen.

We are running MySQL 5.0.24 with PHP 5.0.3 , this is a part of the display of phpinfo function.
mysql installation by phpinfo

ini_get() ini_set() PHP Version
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







    Post your comments , suggestion , error , requirements etc here





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