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 NEXTCLOUD ON UBUNTU?

Nextcloud is an open-source and secure PHP-based content collaboration platform. It is used for...

How to Enable Root User in Ubuntu Server?

Please refer to the below steps to enable root user in ubuntu. Login to your ubuntu server...

How to check Various cPanel logs like WHM, Apache, MySQL, Email, Error etc?

You can use cPanel to access your Linux hosting account with GUI. It is relatively easier to work...

How to setup VSFTPD on CentOS 7.x?

VSFTPD is an FTP server for Unix/Linux systems. It is a default FTP server on CentOS, RHEL Linux...

How to Install SHOUTCast Radio Server on Linux VPS?

This tutorial will assist you to install SHOUTcast Distributed Network Audio Server (DNAS 2.0) in...

  • 0 Users Found This Useful

Was this answer helpful?