Page 1 of 1

Which PHP and Apache modules

Posted: Mon Jul 20, 2015 10:27 pm
by bakerashley127
Hello,

How to know which PHP and Apache modules i am using.

Thanks

Re: Which PHP and Apache modules

Posted: Mon Jul 20, 2015 10:36 pm
by Oliviajohnson
Follow these steps to confirm PHP and Apache modules we have installed.

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

Apache:

/usr/local/apache/bin/httpd -l

PHP:

php -v

If the module that we are looking for is not listed we will require to run a recompile to have the module loaded. On cPanel servers this can be through running this command:

/scripts/easyapache