Forum Moderators: bakedjake

Message Too Old, No Replies

Command to Display Version Information?

         

matthewamzn

4:23 pm on Jan 20, 2006 (gmt 0)

10+ Year Member



Is there a command that can display what version of php, mysql, os etc., is currently running on my server?

jc18750

8:38 pm on Jan 20, 2006 (gmt 0)



I had the same question (version of stuff running), here's what I've found so far:

Linux:
cat /proc/version

Perl:
perl -v

Apache:
apachectl status OR apachectl -v or httpd -v

MySQL:
mysqladmin version --user=root --password=########

PHP:
phpversion() or phpinfo() function in a .php page on your server

Others, please feel free to correct me if I'm wrong.

Hope that helps,
JC

matthewamzn

12:48 pm on Jan 21, 2006 (gmt 0)

10+ Year Member



The mysql and linux commands didn't work. Does anyone have a good command for checking what version of mysql is running?

matthewamzn

10:26 pm on Jan 21, 2006 (gmt 0)

10+ Year Member



The mysql version command is:

mysql -V

it's a capital 'V'