Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check dynamically loaded PHP extensions from command line

I was checking the PHP manual to understand the different types of PHP extensions (PHP modules). There are Zend modules (mainly for PHP gurus), built-in modules and external modules.

Is there a way to tell from command line whether a PHP module has been loaded dynamically or whether it has built-in into the PHP binary?

I mean: with php -m I get all the loaded modules, but I would like to know which ones are built-in and which ones are external.

like image 615
rodrunner Avatar asked Sep 06 '25 14:09

rodrunner


1 Answers

Just run this command on the command line:

php -m

or this for more information:

php -i

Hope this helps.

like image 102
mineroot Avatar answered Sep 11 '25 00:09

mineroot