php 升级到7.0,升级到 PHP 7.0

wget http://cl1.php.net/get/php-7.0.0.tar.gz/from/this/mirror

tar zxf php-7.0.0.tar.gz

cd php-7.0.0

./configure \

--prefix=/usr/local/php \

--with-apxs2=/usr/local/apache2/bin/apxs \

--with-config-file-path=/usr/local/php \

--with-mysqli=/usr/local/mysql/bin/mysql_config \

--with-pdo-mysql=/usr/local/mysql \

--with-gd \

--with-gettext \

--with-iconv \

--with-zlib \

--with-openssl \

--with-curl \

--with-freetype-dir=/usr/include/freetype2/freetype/ \

--with-bz2 \

--with-jpeg-dir \

--with-png-dir \

--with-mcrypt \

--enable-gd-native-ttf \

--enable-mbstring \

--enable-sockets \

--enable-pcntl \

--enable-xml

make

make install

目前已有 For PHP 7的redis https://github.com/edtechd/phpredis

目前已有 For PHP 7的memcache https://github.com/php-memcached-dev/php-memcached/tree/php7

目前没有 For PHP 7的Phalcon框架

生产环境部署 PHP 7还是要等一等...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值