How to check Apache Httpd version
Posted by primalcortex on November 22, 2011
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.
