How to check Apache Httpd version

This is a quick post regarding the how to check the Apache httpd version.

The simple way is just to run the following command: httpd -v

But on Linux, an error might crop up, namely: ./httpd: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

So solve this issue, just run first the following command on the sbin httpd instalation directory:  source envvars and then the httpd -v command should work ok.

 

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s