Celebrate Our 22nd Anniversary with Huge Savings! Up to 70% Off

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

To check which PHP and Apache Modules are installed on Linux, you can follow these steps – 

Log in via SSH to your server to run the following commands – 

1. Check Apache modules – 

apachectl -M

2. Check PHP Modules –  

php -m

3. Check the PHP version – 

php -v



Was this answer helpful?

« Back

chat