用wdcp官方提供的脚本安装lnamp环境,安装请参考:http://www.wdlinux.cn/bbs/thread-6292-1-1.html,本文主要讲如何在LNAMP环境下安装JDK+Tomcat6使同一台服务器同时支持PHP和JAVA语言。服务器系统和各软件版本如下所示
- [root@E ~]# uname -a
- Linux E.CentOS6.4 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
- [root@E ~]# /www/wdlinux/nginx/sbin/nginx -v
- nginx version: nginx/1.2.9
- [root@E ~]# /www/wdlinux/httpd-2.2.24/bin/httpd -v
- Server version: Apache/2.2.24 (Unix)
- Server built: Oct 30 2014 00:17:07
- [root@E ~]# rpm -qa |grep mysql
- mysql-libs-5.1.66-2.el6_3.x86_64
- [root@E ~]# /www/wdlinux/php/bin/php -v
- Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
- PHP 5.3.27 (cli) (built: Oct 30 2014 00:30:02)
- Copyright (c) 1997-2013 The PHP Group
- Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies









