Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to see the extensions loaded by PHP ?

  • Last Updated : 11 Oct, 2019

To see all the extensions loaded by PHP, firstly we must be sure that PHP is successfully installed in our system. After that, we can use any of the following approaches to see the loaded extension list.

Approach 1: In this approach, we will use command line to check all the loaded PHP extensions.
Open Terminal or Command Line Interface and type the following command and hit enter.

php -m

It will display the list of all the loaded PHP extensions.


Approach 2: This approach uses get_loaded_extensions() function to display the list of all the loaded PHP extensions.




Note: Please note that the list of the extension might vary from system to system.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!