How to check PHP and Apache Modules that are Installed on a Linux?

Following are the steps to check which PHP and Apache Modules are installed on Linux.

Login via SSH to your server to run the following commands.

  1. Check Apache Modules.

    apachectl -M
  2. Check PHP Modules.

    php -m
  3. Check PHP Version.

    php -v

Related Articles

How to install Jetbackup on CentOS/RHEL 7 with cPanel?

Please refer to the following steps to install Jetbackup on CentOS/RHEL with cPanel. Purchase...

How to install NodeJS on Centos with cPanel?

NodeJS is an open-source and cross-platform server environment. It is a JavaScript runtime built...

How to enable error-log.txt logging using .htaccess file?

You need to add the below lines in .htaccess file if you want your PHP errors within the...

Do you have any limits for setting up Cron jobs or schedule tasks?

Windows Shared Hosting Plans:We do not offer cron jobs in Windows shared hosting plans. Linux...

How to install IonCube Loader on CentOS 7 Manually?

Ioncube is a PHP module which protects the PHP application's source code from being viewed from...

  • 0 Users Found This Useful

Was this answer helpful?