Find out software versions

Is there any easy way (I mean, without having to lurk around the wiki) to know the versions of the PHP, MySQL and all that stuff?

[quote]ssh -l
vi test.php

<?php phpinfo(); ?>



Then browse to /info.php

That’ll have your PHP info. If you run php -v from the commandline, you’ll get your CLI version of php, which isn’t what’s going to be serving your web requests.

For mysql:

[quote]mysql -u -p -h


It should print out the mysql server version in the welcome text. Mine, for example, is:
Server version: 5.0.45-log MySQL Community Server (GPL)