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.

CentOS:

httpd -l

Debian/Ubuntu:

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):

CentOS:

httpd -S

Debian/Ubuntu:

apache2ctl -l

Details about the Apache server installation:

httpd -V

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk