Have you ever need to know what your server is running? Need to see if it runs MySQL? Well here is a way of knowing what options are available in PHP and what’s going on in your server is to use the phpinfo() function. Create a script with the following.
Save and view this script through your Web server. You’ll see a page filled with useful and interesting information. This info tells all about your server, internal Web server environment variables, the options that are compiled, and on and on.
I hope it has been a useful article.