PHP 7.4.11编译安装(Debian 10 环境)

#配置编译参数

./configure --prefix=/usr/local/php7411 --disable-all \
--build=x86_64-debian10-linux-gnu --enable-cli --enable-fpm \
--with-fpm-user=www --with-fpm-group=www --with-fpm-systemd \
--with-fpm-acl --with-config-file-path=/usr/local/php/etc \
--with-config-file-scan-dir=/usr/local/php/etc/conf.d --with-layout=PHP \
--with-libxml --with-openssl=shared --with-pcre-jit --with-sqlite3=shared \
--with-zlib --enable-bcmath --enable-calendar --with-curl=shared \
--enable-dom --enable-ftp=shared --enable-gd=shared --enable-exif=shared \
--enable-session --enable-soap=shared --enable-sockets=shared --enable-phar=shared \
--enable-posix --enable-tokenizer --enable-xml --enable-xmlreader --enable-xmlwriter \
--with-zip=shared --with-tsrm-pthreads --enable-mbstring=shared --enable-mbregex \
--enable-intl=shared --with-gettext=shared --with-iconv=shared \
--enable-opcache=shared --enable-huge-code-pages=shared --enable-pcntl=shared \
--with-mysqli=shared --with-mysql-sock --enable-json --enable-pdo \
--with-pdo-mysql=shared --with-sodium=shared --with-libedit=shared \
--with-pdo-sqlite=shared build_alias=x86_64-debian10-linux-gnu \
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-expat=shared \
--with-xmlrpc=shared --with-xsl=shared --with-gmp=shared --with-mhash \
--with-enchant=shared --enable-ctype --with-pspell \
--enable-shmop=shared --with-snmp=shared --enable-simplexml \
--enable-mysqlnd=shared --enable-fileinfo --with-ldap=shared \
--with-bz2=shared --enable-filter

发布者

坏喵呜

IT技术分享