Find out software versions


#1

Hi,
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?
Thanx


#2

[quote]ssh -l .dreamhost.com
cd
vi test.php
i

<?php phpinfo(); ?>

:wq

[/quote]

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

[/quote]

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)