记-centos安装php7
2021-03-31 19:27
标签:XML 出现 安装 安装php7 mysq https curl ack package 1、wget https://www.php.net/downloads/php-7.4.4.tar.gz 2.tar -zvxf php-7.4.4.tar.gz 3、cd php-7.4.4.tar.gz 4、./configure --prefix=/usr/local/php 编译后会出现各种 No package ‘XXXX’ found 不要往后make ,把编译通过后再make 记-centos安装php7 标签:XML 出现 安装 安装php7 mysq https curl ack package 原文地址:https://www.cnblogs.com/leonchan/p/12581768.html
--with-config-file-path=/usr/local/php
--enable-mbstring
--enable-ftp
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
--without-pear
--disable-phar
--enable-sockets
--with-freetype-dir=/usr
--with-zlib
--with-libxml-dir=/usr
--with-xmlrpc
--enable-zip
--enable-fpm
--enable-xml
--enable-sockets
--with-gd
--with-zlib
--with-iconv
--enable-zip
--with-freetype-dir=/usr/lib/
--enable-soap
--enable-pcntl
--enable-cli
--with-curl