What is SSH?
SSH means Secured Socket Shell. It is a network protocol that provides administrators with a secure way to access a remote computer. It also refers the suite of utilities that implement a protocol. SSH provides authentication and security. As it encrypts the data that are communicating between two computers connecting over an insecure network such as the Internet.
What is a PHP module?
PHP is an open-source scripting language that is mainly used to create dynamic web pages. PHP module is a servlet that allows running PHP embedded scripts. The servlet calls a native embedded PHP engine with library extensions. The PHP servlet allows running most of the existing PHP scripts.
How to check a particular PHP module installed via SSH?
The most common way to check whether or not a particular module installed in the command line is by using the command
php -m|grep -i modulename
This command tells what modules the PHP command line tool is seeing but it does not say about what modules Apache’s PHP is able to load.