debian10下php8.0.3 fpm编译记录

编译工具依赖:gcc、g++、make、automake、autoconf、pkg-config

库依赖:

libxml2-dev
libssl-dev
libsqlite3-dev
zlib1g-dev
libcurl4-openssl-dev
libpng-dev
libjpeg-dev
libfreetype6-dev
libonig-dev
libxslt-dev
libzip-dev

fpm编译配置:

./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--with-config-file-scan-dir=/usr/local/php/conf.d \
--enable-fpm \
--with-fpm-user=www \
--with-fpm-group=www \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-iconv \
--with-freetype \
--with-jpeg \
--with-zlib \
--enable-xml \
--disable-rpath \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--with-curl \
--enable-mbregex \
--enable-mbstring \
--enable-intl \
--enable-ftp \
--enable-gd \
--with-openssl \
--with-mhash \
--enable-pcntl \
--enable-sockets \
--with-zip \
--enable-soap \
--with-gettext \
--enable-opcache \
--with-xsl \
--with-pear

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注