XAMPP(Apache,MySQL,PHP)のバージョンをコマンドプロンプトから調べる方法

XAMPPに入ってる,ApacheMySQLPHPのバージョンをコマンドプロンプトから調べる方法.
xamppフォルダの階層は各自確認して変更する.

Apache

httpdコマンドで「-v」オプションを付ける.

C:\Program Files\xampp\apache\bin>httpd -v


Server version: Apache/2.2.4 (Win32)
Server built: Mar 5 2007 11:23:00

MySQL

C:\Program Files\xampp\mysql\bin>mysql --version


mysql Ver 14.12 Distrib 5.0.41, for Win32 (ia32)

C:\Program Files\xampp\mysql\bin>mysqladmin -u root -p VERSION
Enter password:


mysqladmin Ver 8.41 Distrib 5.0.41, for Win32 on ia32
Copyright (C) 2000-2006 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license


Server version 5.0.41-community-nt
Protocol version 10
Connection localhost via TCP/IP
TCP port
Uptime: 19 min 34 sec

C:\Program Files\xampp\mysql\bin>mysql -u root -p
Enter password:


mysql> SELECT VERSION();

                                            • +
VERSION()
                                            • +
5.0.41-community-nt
                                            • +

1 row in set (0.03 sec)

PHP

C:\Program Files\xampp\php>php --version


PHP 5.2.2 (cli) (built: May 2 2007 19:18:26)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.4, Copyright (c) 1998-2007, by Zend Technologies