许多人通过他们自己的经验认识到安装Apache服务器是件不容易的事儿.如果您想添加 MySQL、PHP 和Perl,那就更难了.XAMPP是一个易于安装且包含MySQL、PHP和Perl的Apache发行版.XAMPP的确非常容易安装和使用:只需下载,解压缩,启动即可.到目前为止,XAMPP共支持Windows 、Linux、Mac OS X、Solaris四种版本.
包含组件:
Apache 2.2.9,
MySQL 5.0.51b,
PHP 5.2.6 & 4.4.8 & PEAR + SQLite 2.8.17/3.3.17 + multibyte (mbstring) support,
Perl 5.10.0,
ProFTPD 1.3.1,
phpMyAdmin 2.11.7,
OpenSSL 0.9.8h,
GD 2.0.1,
Freetype2 2.1.7,
libjpeg 6b,
libpng 1.2.12,
gdbm 1.8.0,
zlib 1.2.3,
expat 1.2,
Sablotron 1.0,
libxml 2.6.31,
Ming 0.3,
Webalizer 2.01,
pdf class 009e,
ncurses 5.8,
mod_perl 2.0.4,
FreeTDS 0.63,
gettext 0.11.5,
IMAP C-Client 2004e,
OpenLDAP (client) 2.3.11,
mcrypt 2.5.7,
mhash 0.8.18,
eAccelerator 0.9.5.3,
cURL 7.18.2,
libxslt 1.1.8,
phpSQLiteAdmin 0.2,
libapreq 2.08,
FPDF 1.53,
XAMPP Control Panel 0.6
安装:
1. Go to a Linux shell and login as the system administrator root:
su
2. Extract the downloaded archive file to /opt:
tar xvfz xampp-linux-1.6.7.tar.gz -C /opt
Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.
Warning 2: already installed XAMPP versions get overwritten by this command.
That's all. XAMPP is now installed below the /opt/lampp directory.
启动:
To start XAMPP simply call this command:
/opt/lampp/lampp start
You should now see something like this on your screen:
Starting XAMPP 1.6.7...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
Ready. Apache and MySQL are running.