How to find out which extensions are installed in my PHP?

5

Is there any way to find out which extensions are installed in my PHP?

I already know I can do it with phpinfo , but I find it confusing to view.

Is there a simpler way, that is, only the lists of installed extensions?

    
asked by anonymous 05.01.2016 / 14:49

2 answers

5

Terminal

Out of the terminal command in the other response:

$ php -m

Using php

There is still the option to do in PHP, which is cool to display perhaps on a dashboard or if you have created a wizard-type installer that verifies what is active and necessary. There are 2 types of extension, the "normal extensions" as the "zend extensions", in case you can use the

05.01.2016 / 15:16
3

In the terminal, you can use the command $ php -m

    
05.01.2016 / 14:53