How to Check PHP Modules With phpinfo

Say your PHP application is unable to load a needed PHP module. The first thing to check is to see if the PHP module is available to the application. The best way to do that is with what is called a “phpinfo” file.


What is a phpinfo file?

A phpinfo file is an extremely small PHP script that provides you almost too much information about your site’s PHP environment.

How do I make a phpinfo file?

Create a file in your site’s document root called “whatever.php” with the following content:

Note: it is not a good idea to name the file “phpinfo.php”, as some attackers search for files with that name left on servers.

Now load that file in the browser, for example at The page will give you plenty of information about the version of PHP in use, the core functions available, and the modules being loaded.

===========******============'About Support
We are working as a Server administrator at Squarebrothers Info tech Pvt Ltd. We are First ICANN accredited Domain Registrar in South India. We are partner with Cpanel NOC, Microsoft SPLA, APNIC member and Microsoft GOLD partner.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.