安装编译源码php5.6.11
2015-08-16 12:33
609 查看
安装php是建立在安装apache和mysql之上的,可以参考我安装mysql和apache源码安装的博客。
tar -zxvf php-5.6.11.tar.gz
cd php-5.6.11
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --with-openssl --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-ftp --with-gd
--enable-gd-native-ttf --with-gettext --with-mhash --enable-mbstring --with-mcrypt --enable-soap --enable-zip --with-iconv=/usr/local/libiconv --with-mysql=/usr/local/mysql --without-pear
make
make install
未完待续加速器的安装。。。。
tar -zxvf php-5.6.11.tar.gz
cd php-5.6.11
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --with-openssl --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-ftp --with-gd
--enable-gd-native-ttf --with-gettext --with-mhash --enable-mbstring --with-mcrypt --enable-soap --enable-zip --with-iconv=/usr/local/libiconv --with-mysql=/usr/local/mysql --without-pear
make
make install
未完待续加速器的安装。。。。
相关文章推荐
- PHP扩展开发:hello word!
- vsftp服务器root账户不能用于ftp登录的解决方法
- php 生产验证码
- TP实现首页静态方法
- 【细说PHP学习】第十三章 PHP的错误和异常处理
- yii webservice 提示:Procedure 'getSent' not present 错误的解决方法
- yii webservice 提示:Procedure 'getSent' not present 错误的解决方法
- ContentProvider类的设计分析
- mac os下部署laravel项目笔记
- php友好格式化时间
- PHP学习笔记-非常有用的 PHP 代码片段(1)
- JS/PHP 浮点数精确运算
- phpcms学习总结-图片上传不成功
- Zend Studio快捷键汇总
- php des 加密解密实例
- php函数设置时区方法:
- PHP 实现获取服务器端IP地址
- 如何安装PHP扩展libzookeeper
- 如何让PHP脚本在cli模式下执行时可接受选项和值的输入
- PHP:文件系统