Friday, April 21, 2017

How to show list of php modules on Lubuntu


If you want to check what kind of modules you have with your php installation, you can do it from command line, using this simple command you can see list of php modules that you have right now.

Go ahead open up your lubuntu terminal, and then run php -m command, it will show list of php modules that available on your system.
php -m
You can also search for specific module using pipe and grep, like this:
php -m | grep [module-name]
For example:
php -m | grep curl
php -m | grep mysql
php -m | grep phalcon
If the module that you are search is found, that means the module is available (installed), but it if shows nothing then the module is not available (not install yet).


No comments:

Post a Comment