标签:sap clu 文件 and libxml share map net 源码
yum -y install gcc gcc-c++ make autoconf bzip2 bzip2-devel libpng libpng-devel freetype-devel gmp-devel readline-devel curl-devel libxml2-devel libjpeg-devel bison openssl-devel uw-imap-devel libc-client sqlite-devel libicu-devel libedit-devel libxslt-devel oniguruma oniguruma-devel libzip-devel
wget https://www.php.net/distributions/php-8.0.0.tar.xz
./configure --prefix=/usr/local/php --sysconfdir=/etc/php --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php/php.d --bindir=/usr/bin --docdir=/usr/share/doc --sbindir=/usr/sbin --libdir=/usr/lib64/php --with-libdir=/usr/lib64/php --libexecdir=/usr/libexec --localstatedir=/var --includedir=/usr/include --localedir=/usr/local --datarootdir=/usr/share --datadir=/usr/share/php --mandir=/usr/share/man --infodir=/usr/share/info --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --enable-mysqlnd --enable-mysqlnd-compression-support --enable-json --with-openssl-dir --with-zlib-dir --with-freetype --enable-gd-jis-conv --enable-ftp --enable-filter --enable-fileinfo --with-curl --with-iconv --with-bz2 --with-zlib --with-zip --with-xsl --with-jpeg --with-webp --with-xpm --without-iconv --with-kerberos --with-imap-ssl --with-openssl --enable-dom --with-gettext --with-mysqli=mysqlnd --enable-pdo --with-pdo-mysql=mysqlnd --enable-simplexml --enable-session --enable-sysvsem --enable-sysvmsg --enable-sockets --with-pear --with-xmlrpc --with-mhash --enable-bcmath --with-cdb --enable-exif --with-gmp --enable-mbstring --enable-mbregex --with-readline --enable-shmop --enable-soap --enable-sockets --enable-pcntl --enable-intl --enable-re2c-cgoto --with-libedit
cp php.ini-production /etc/php/php.ini
cp sapi/fpm/php-fpm.conf /etc/php/php-fpm.conf
cp sapi/fpm/www.conf /etc/php/php-fpm.d/www.conf
cp sapi/fpm/php-fpm.service /etc/systemd/system/php-fpm.service
cgi.fix_pathinfo=0
groupadd www-data
useradd --group www-data -s /sbin/nologin --no-create-home www-data
systemctl start php-fpm
标签:sap clu 文件 and libxml share map net 源码
原文地址:https://www.cnblogs.com/dissipate/p/14208303.html