Lamp server version check

From MediaWiki extension testing
Jump to: navigation, search

The LAMP server needs to have the correct versions. Here you can check which version you have got on your server.

Contents

PHP

Statement

php --version

Example result

PHP 5.1.2 (cli) (built: Nov 28 2007 22:36:05) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

   with Xdebug v2.0.0beta6, Copyright (c) 2002, 2003, 2004, 2005, 2006, by Derick Rethans

Conclusion of the example

This is version 5.1.2,

MySQL

Statement

mysql --version

Example result

mysql Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (x86_64) using readline 5.1

Conclusion of the example

This is version 5.0.22.

Linux

Distribution

There might be small difference between Linux distribution (Debian, Fedora, Ubuntu etc). So for documentation purposes mentioning the used Linux version is important.

Statement

cat /etc/issue.net

Example results

Debian GNU/Linux 4.0

or

Ubuntu 6.06.2 LTS

or

something like "Fedora release 7 (Moonshine)

Version

Version Linux is not specified, and most modern versions should be fine. But still documentation is important.

Statement

uname -a

Example result

Linux bling 2.6.15-51-amd64-generic #1 SMP PREEMPT Tue Feb 12 16:56:43 UTC 2008 x86_64 GNU/Linux

Conclusion example

Linux v 2.6.15

Apache

Version Apache is not specified, and most modern versions should be fine.

Statement

apache2 -v

Example result

Server version: Apache/2.0.55 Server built: Feb 4 2008 19:58:40

Conclusion example

Apache v2.0.55

History

Of all cleanmachine backup's are made and can be used later. So it a extension can be tested with previous versions of PHP, MYSQL, Apache if needed. Because of using a Virtuozzo virtual container a previous version of Linux is not possible but often also not needed.

Personal tools
Namespaces
Variants
Actions
navigation
Toolbox