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.
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.