Results 1 to 6 of 6
hey all,
I wanted to know the commands to find out what version of apache server is running on a particular machine also i would like to find out the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-31-2005 #1
Apache webserver
hey all,
I wanted to know the commands to find out what version of apache server is running on a particular machine also i would like to find out the what version of PHP and MySQL is running on the machine with the help of Command Line interface only.
Any help would be appreciated .
Thanx
- 10-31-2005 #2
for apache it will be either
orCode:apache -v
and for php it'll beCode:apache2 -v
I don't know anything about mysql so I won't comment on it.Code:php -v
- 10-31-2005 #3
the
command worked . but theCode:php -v
and theCode:apache -v
didnt work.Code:apache2 -v
I did a man on apache. then i found out that the command isCode:man -k apa*
. but it didnt workCode:apachect1 -v
- 10-31-2005 #4
Erm, try
Code:httpd -v
- 11-01-2005 #5You typed:
Originally Posted by AceAll
you should have typed:Code:apachect1 -v
If you do this at a root command prompts (change to root with the 'su -' command and the root password) you should be able to use TAB to complete the command line for you, thereby avoiding any spelling issues like this.Code:apachectl -v
Linux user #126863 - see http://linuxcounter.net/
- 11-17-2005 #6Just Joined!
- Join Date
- Nov 2005
- Posts
- 9
In my server
for apache version
# apachectl -v
for PHP version
# php -v
for mysql version
# mysql -V


Reply With Quote
