Using commands to view installations

Expertise level: Easy

Use these commands to view what has been installed on your server:

Modules installed with Perl:

perldoc perllocal

PHP version:

php -v

Modules installed under PHP:

php -m

Apache modules:

Statically compiled Apache modules: These modules are compiled to the Apache binary during the recompilation time.


httpd -l


apache2ctl -l


Dynamically compile Apache modules: These modules are installed after Apache recompile and loaded using the LoadModule option.

Create a phpinfo.php page and search for "Loaded Modules" (Refer to the article "How can I create a phpinfo.php page?").

Apache vhost configured (IP and configuration file):


httpd -S


apache2ctl -l

Details about the Apache server installation:

httpd -V




Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk