首页 > 运维类 > LINUX运维 > kangle web配置php-7.1.7安装教程(Linux)

1852

浏览

0

评论

kangle web配置php-7.1.7安装教程(Linux)

作者:stephen | 分类:LINUX运维 | 标签:
  1. rpm -ivh http://mirrors.aliyun.com/epel/6/x86_64/epel-release-6-8.noarch.rpm

  2. yum -y install make automake gcc gcc-c ++ pcre-devel zlib-devel sqlite-devel openssl-devel readline-devel libxml2-devel libcurl-devel libjpeg-turbo-devel libpng-devel freetype-devel libmcrypt-devel

  3. wget http://download.cdnbest.com/php/php-7.1.7.tar.bz2

  4. tar xjf php-7.1.7.tar.bz2

  5. cd php-7.1.7

  6. ./configure --prefix = / vhs / php --enable-exif'--enable-inline-optimization''--with-freetype-dir''--with-jpeg-dir''--with-gd' '--enable-shared''--enable-opcache''--with-mysql = mysqlnd''--with-mysqli = mysqlnd''--with-pdo-mysql = mysqlnd''--with-gettext' '--enable-mbstring''--with-iconv''--with-mhash''--with-openssl''--enable-bcmath''--with-libxml-dir''--enable-sockets ''--with-curl''--with-zlib''--with-readline''--with-mcrypt'--with-mysql-sock = / var / lib / mysql / mysql.sock


本文链接:https://www.stephenwxf.com/post/115.html
原创文章如转载请注明:转载自王显璠的个人博客谢谢!

Copyright Your stephenwxf.com Rights Reserved.