因为学习的需要,所以在原有lnpp的部署的基础上加入了mysql ,可能lnmpp的使用上会更灵活点 ...
mysql 的部分参考的一下的网页:
http://blog.youkuaiyun.com/qzier_go/article/details/7325254
建立在lnpp的脚本上:
http://blog.youkuaiyun.com/qzier_go/article/details/7462053
这里就不贴代码了,项目放在github上,同时加入了启动脚本 .
Desc:
lnmpp=linux + nginx + mysql + php + postgresql
Detail:
PHP_VERSION=php-5.4.0
PG_VERSION=postgresql-9.1.3
NGINX_VERSION=nginx-1.0.15
MYSQL_VERSION=mysql-5.5.21
Usage:
#sh lnmpp.sh
#./lnmpp_start {start|stop|reload}
Contact:
email:i@qzier.com
qq group:213572677
php 编译选项
'./configure' '--prefix=/tmp/lnmpp/lnmpp-0.01/php/php-5.4.0' '--with-config-file-path=/tmp/lnmpp/lnmpp-0.01/php/php-5.4.0/etc/' '--with-iconv=/tmp/lnmpp/lnmpp-0.01/php/php-5.4.0/3rdlibs/libiconv-1.14' '--with-pcre-dir=/tmp/lnmpp/lnmpp-0.01/php/php-5.4.0/3rdlibs/pcre-8.21' '--with-pgsql=/tmp/lnmpp/lnmpp-0.01/pgsql/postgresql-9.1.3' '--with-pdo-pgsql=/tmp/lnmpp/lnmpp-0.01/pgsql/postgresql-9.1.3' '--with-mysql=/tmp/lnmpp/lnmpp-0.01/mysql/mysql-5.5.21' '--with-pdo-mysql=/tmp/lnmpp/lnmpp-0.01/mysql/mysql-5.5.21' '--enable-fpm' '--with-pear' '--with-gd' '--enable-gd-native-ttf' '--with-freetype' '--with-zlib' '--enable-mbstring' '--with-curl' '--with-openssl' '--with-mhash=/tmp/lnmpp/lnmpp-0.01/php/php-5.4.0/3rdlibs/mhash-0.9.9.9' '--with-mcrypt=/tmp/lnmpp/lnmpp-0.01/php/php-5.4.0/3rdlibs/mcrypt-2.6.8
本文详细介绍了在原有lnpp部署基础上加入MySQL的方法,包括参考网页、建立脚本及PHP编译选项,并提供了GitHub项目链接及启动脚本。

被折叠的 条评论
为什么被折叠?



