centos6.6安装php-7.0.28

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/CleverCode/article/details/86541924
# wget http://cn2.php.net/distributions/php-7.0.28.tar.gz
#  tar -zvxf php-7.0.28.tar.gz
#  cd php-7.0.28
#  yum install -y epel-release  libmcrypt-devel
#  ./configure --prefix=/usr/local/php/  --enable-pdo --with-pdo-mysql --with-mysql-sock --enable-xml --with-libxml-dir --enable-sockets --with-curl --with-gd --enable-gd-native-ttf --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-mcrypt --with-openssl --with-mhash --enable-zip --enable-mbstring --enable-mbregex --with-iconv --enable-static
#  make && make install

#  cp php-7.0.28/php.ini-development /usr/local/php/etc/php.ini
#  rm -rf /etc/php.ini 
#  ln -s /usr/local/php/etc/php.ini  /etc/php.ini
#  ln -s /usr/local/php/bin/php /usr/bin/

猜你喜欢

转载自blog.csdn.net/CleverCode/article/details/86541924