Archive for June, 2009

Finding out versions of java, apache , php and mysql

June 26, 2009

Hi,

Use the following to find out the version info

java -version
java version “1.6.0_03″
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)

php -v
PHP 4.3.9 (cgi) (built: Apr 17 2009 19:13:06)
Copyright (c) 1997-2004 The PHP Group

mysql -V
mysql  Ver 14.7 Distrib 4.1.22, for redhat-linux-gnu (i686) using readline 4.3

httpd -v
Server version: Apache/2.0.52

Hope this will  help you to determine the versions of the softwares.

Running a syntax check on /etc/my.cnf

June 3, 2009

To verify the my.cnf parameter changes

/usr/libexec/mysqld –help –verbose