centos6.6安装php-7.0.28

# 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/

你可能感兴趣的:(新概念第2册)