linux 手动源码安装lnmp(亲测)
来源:互联网 发布:淘宝的孕妇装 编辑:程序博客网 时间:2024/06/13 00:42
linux 手动源码安装lnmp笔记(亲测)先在linux 安装libiconv 源码编译安装PHP有用#wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz#tar xvf libiconv-1.14.tar.gz#cd libiconv-1.14# ./configure --prefix=/usr/local/libiconv# make# make install1 先去PHP官网下个 php-5.6.29.tar.gz wget http://cn2.php.net/distributions/php-5.6.29.tar.gz2 ./configure --prefix=/usr/local/php --with-iconv=/usr/local/libiconv --enable-sysvsem --with-curl --enable-mbregex --enable-mbstring --with-mcrypt --with-gd --with-openssl --with-mhash --enable-sockets --with-xmlrpc --with-zlib --with-iconv=/usr/local/libiconv 这个路径就是上面安装的路径哈正确如下Thank you for using PHP.config.status: creating php5.specconfig.status: creating main/build-defs.hconfig.status: creating scripts/phpizeconfig.status: creating scripts/man1/phpize.1config.status: creating scripts/php-configconfig.status: creating scripts/man1/php-config.1config.status: creating sapi/cli/php.1config.status: creating sapi/cgi/php-cgi.1config.status: creating ext/phar/phar.1config.status: creating ext/phar/phar.phar.1config.status: creating main/php_config.hconfig.status: executing default commands3 make 生成o文件 如果出现 undefined reference to `libiconv' 那就是 ./configure --prefix没设置好 make clean 后重新配置./configure ............4 make install 安装正确如下[root@iZbp11xke8lva3xk8b3qtnZ php-5.6.29]# make installInstalling shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/Installing PHP CLI binary: /usr/local/php/bin/Installing PHP CLI man page: /usr/local/php/php/man/man1/Installing PHP CGI binary: /usr/local/php/bin/Installing PHP CGI man page: /usr/local/php/php/man/man1/Installing build environment: /usr/local/php/lib/php/build/Installing header files: /usr/local/php/include/php/Installing helper programs: /usr/local/php/bin/
查看原文:http://newmiracle.cn/?p=823
0 0
- linux 手动源码安装lnmp(亲测)
- linux lnmp源码安装
- Linux源码安装LNMP
- 源码编译安装LNMP
- 源码安装lnmp环境
- LNMP源码编译安装
- LNMP源码安装
- lnmp 源码安装
- Ubuntu源码安装lnmp
- 源码安装lnmp环境
- LNMP 源码安装
- LNMP 源码编译安装
- LNMP源码安装
- lnmp环境源码安装
- 源码安装 lnmp
- lnmp源码安装的linux历史操作记录
- linux服务--LNMP源码编译安装--RHEL6.5
- 源码编译安装,搭建LNMP环境(Linux+Nginx+MySQL+PHP)
- 380. Insert Delete GetRandom O(1)
- git学习(2) 远程连接github
- jms中消息接收的实现原理
- 私人整理mysql笔记
- ES6/ES2015核心内容
- linux 手动源码安装lnmp(亲测)
- TaintDroid部署过程详解
- VS编译器中加入QT库
- 【DVB】【法国】法国NRJ进行超高清/HDR数字地面电视测试
- poj Pots(BFS)(路径记录)(模拟)
- 眼图——概念与测量(摘记)
- hbuider 集成自己的插件后不能用chrome调试的解决方案
- 初写Cocos2dX Box demo
- py2exe安装及使用; 复制cmd中的内容小记