ServerCake India

How to Check a Particular PHP Module Installed via SSH?

PHP Module
PHP Module Graphical Illustration

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

What is a PHP module?

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.

 

Editorial Team

Editorial Team at ServerCake India Blog is a team of experts in Server Administration, Business Development, Management, SEO Analyst & Graphic Designers with more than 5+ years of expertise.

Add comment