How to figure out the version of Apache installed in FC2 ?
php --version and mysql --version gives the version number, but
apache --version
httpd --version
gives bash: httpd: command not found.
Any idea on how to find it ?
Thanks
Detecting Apache version on Linux FC2
Moderator: General Moderators
usually httpd is installed in sbin directories (in one of them) which aren't listed in the PATH environment variables of ordinary users. You can try folllowing locations: /usr/sbin/httpd, /usr/local/sbin/httpd. In case it isn't there here is another way: type this command in your shell prompt
It's very disk intensive operation (search the entire directory tree) and perhaps it will yield a lot of results, so you will need to filter out httpd man pages, apache source code, and so on. But at least the binary should be among them.
Code: Select all
find / -name httpd