Check available PHP modules and PHP limits

If you want to check available PHP modules and their limit (PHP memory, PHP execution time, max_upload size etc.), you can write simple PHP script to check it. Using the following sample code and upload it in your website:

When you access your page, it will show the output as follow:


If phpinfo function is disabled by your web host, you will not get above output instead if will show the following message:

“Warning: phpinfo() has been disabled for security reasons”


Posted in Scripts and tagged .

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.