CentOS下编译安装PHP5
来源:互联网 发布:上古世纪 范冰冰数据 编辑:程序博客网 时间:2024/06/05 03:32
1> 下载编译安装
wget http://cn2.php.net/distributions/php-5.3.28.tar.bz2
tar jxf php-5.3.28.tar.bz2 cd php-5.3.28 ./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-config-file-scan-dir=/usr/local/php5/etc/php.d --with-bz2 --with-openssl --with-zlib --with-mhash --with-pcre --enable-exif --enable-sockets --enable-mbstring --enable-xml --enable-fpm --enable-soap --with-gd --with-curl --with-mcrypt --with-unixODBC --with-imap --with-imap-ssl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-freetype-dir --enable-gd-native-ttf --enable-gd-jis-conv --with-mysqli --with-pdo-mysql --enable-dom --with-kerberos --disable-debug make make install
2> 配置
cp php.ini-production /usr/local/php5/etc/php.ini cp /usr/local/php5/etc/php-fpm.conf.default /usr/local/php5/etc/php-fpm.conf mkdir /usr/local/php5/etc/php.d cp sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm chmod u+x /etc/init.d/php-fpm service php-fpm start chkconfig php-fpm on
0 0
- CentOS下编译安装PHP5
- Centos 6.5下编译安装php5.6
- Centos 6.5 下php5.6.2 的编译安装
- [Centos]编译安装PHP5.6.13
- CentOS 编译安装php5.6
- CentOS下安装php5.3
- CentOS 5.6(X64)下编译安装LNMP平台(Nginx1.0+PHP5.3.6+Mysql5.5.11)
- CentOS 6.0(X64)下编译安装LNMP平台( Nginx1.0.10 + PHP5.3.8 + Mysql5.5.18 )
- CentOS 5.6(X64)下编译安装LNMP平台(Nginx1.0.4+PHP5.3.6+Mysql5.5.12)
- 阿里云ESC服务器CentOS 6.8 下编译安装LAMP(php5.2.17 )
- Centos下Yum安装PHP5.5
- Centos下Yum安装PHP5.5,5.6
- Centos下Yum安装PHP5.5,5.6
- Centos下Yum安装PHP5.5,5.6
- CentOS下安装PHP5.5环境
- centos 7.0 下编辑安装php5.6
- CentOS下yum安装PHP5.5以上
- centos X64下安装php5.5.6
- 伪静态的优点
- 线性表的单链表存储(2)
- Oracle日常性能查看
- C#中Dictionary的用法及用途
- This text field does not specify an inputType or a hint
- CentOS下编译安装PHP5
- Android服务之Service(其一)
- MySQL字段名与保留字冲突的问题及解决方法
- cocos2d-x多分辨率适配方案:setDesignResolutionSize使用
- 内联汇编
- startActivityForResult()用法
- Oracle中merge into的使用
- Codeforces Round #262 (Div. 2)E(贪心+暴搜)
- 内存的几个区