centos 源码安装PHP7.2

作者:admin 发布:2018-04-11 浏览:1144次

./configure  --prefix=/usr/local/php  --enable-bcmath  --with-jpeg-dir --with-freetype-dir --with-webp-dir --enable-sockets  --enable-ctype  --enable-mbstring  --with-libxml-dir      --enable-pdo --enable-xmlreader  --enable-xmlwriter  --with-openssl-dir   --with-gettext  --with-gd  --with-pdo-mysql --enable-fpm  --with-curl  --enable-ctype    -enable-gd-jis-conv --with-mysqli --with-ldap --with-zlib


make && make install


官方提供了安装说明:

http://php.net/manual/zh/install.php

Comments (0)