magento1.9php配置

magento1.9服务器php推荐5.6版本,有插件要求大于等于5.6小于等于6.0。

下载地址:

wget http://au1.php.net/get/php-5.6.35.tar.gz/from/this/mirror


安装:

./configure \
 --prefix=/usr/local/php \
 --enable-mysqlnd \
 --with-mysqli=mysqlnd --with-openssl \
 --with-pdo-mysql=mysqlnd \
 --enable-mbstring \
 --with-freetype-dir \
 --with-jpeg-dir \
 --with-png-dir \
 --with-gd \
 --with-zlib --with-libxml-dir=/usr \
 --enable-xml  --enable-sockets \
 --with-apxs2=/usr/local/apache/bin/apxs \
 --with-mcrypt  --with-config-file-path=/etc \
 --with-config-file-scan-dir=/etc/php.d \
 --enable-maintainer-zts \
 --disable-fileinfo \
 --enable-intl \
 --with-curl \
 --enable-soap \
 --with-xsl \
 --enable-zip \
 --enable-fpm \               
 --enable-ftp  \
 --enable-opcache \
 --enable-dom


猜你喜欢

转载自blog.csdn.net/gejian1208/article/details/79865167
1.9
今日推荐