ubuntu/debian 编译 php7.4

apt-get install gcc libpcre3 libpcre3-dev libssl-dev automake autoconf libtool make pkg-config libsqlite3-dev libkrb5-dev libexif-dev libjpeg8-dev libfreetype6-dev libbz2-dev libpcre3-dev libpng12-dev libcurl4-gnutls-dev libonig-dev libxslt1-dev libxml2-dev

./configure --prefix=/usr/local/php74 --with-zlib-dir --enable-mbstring -- enable-xmlreader --enable-xmlwriter --enable-soap --enable-calendar --with-curl --with-zlib --with-pear --with-pdo-mysql --with-mysqli --with-mysql-sock -- enable-mysqlnd --disable-rpath --enable-inline-optimization --with-bz2 --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex -- enable-exif --enable-bcmath --with-mhash --with-openssl --enable-ftp --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-fpm

./configure --prefix=/usr/local/php74 --with-zlib-dir --enable-mbstring -- enable-xmlreader --enable-xmlwriter --enable-soap --enable-calendar --with-curl --with-zlib --with-pear --with-pdo-mysql --with-mysqli --with-mysql-sock -- enable-mysqlnd --disable-rpath --enable-inline-optimization --with-bz2 --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbregex -- enable-exif --enable-bcmath --with-mhash --with-openssl --enable-ftp --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-fpm --enable-pcntl

./configure --prefix=/usr/local/php73 --with-zlib-dir --enable-mbstring --enable-xmlreader --enable-xmlwriter --enable-soap --enable-calendar --with-curl --with-zlib --with-pear --with-pdo-mysql --with-mysqli --with-mysql-sock --enable-mysqlnd --disable-rpath --enable-inline-optimization --with-bz2 --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --with-openssl --enable-ftp --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-fpm

groupadd nobody php-fpm

相关推荐
Ruiery4 小时前
Linux 6.6内核 CPU 深度解析(七):调度器启动 — 从单核到多核,调度器分阶段点亮
linux·运维·服务器
50万马克的面包4 小时前
CSDN-栈队列数组-知识点整理
linux·运维·服务器
MicrosoftCloud5 小时前
用户权限 04|/etc/sudoers 安全配置:从最小授权到「别把 ALL 随便给人」
运维·安全·ubuntu·sudo·sudoers
wjkjpcba6 小时前
PCBA烧录程序是什么:PCBA包工包料厂家解析烧录与测试
linux·数据库·人工智能·smt贴片加工·pcba贴片加工厂
꯭自꯭闭꯭6 小时前
达梦事物特性及MVCC
linux·运维·数据库
羔羊++8 小时前
18_实验十七_其他命令与自定义启动变量
linux
DYWorker00110 小时前
Linux驱动:RK3568 GMAC + YT8531C 千兆以太网全流程解剖
linux
lisanmengmeng11 小时前
NRPE 添加命令(一)
linux·运维·服务器
树下水月12 小时前
Typora破解
linux·服务器·前端
沫璃染墨13 小时前
《从零入门Linux系统篇(五十七):线程篇·十——生产者消费者模型进阶:从环形缓冲区到POSIX信号量》
linux·运维·服务器·开发语言·c++·系统架构·信号处理