PHP编译配置实例

./configure --prefix=/usr/local \
--enable-fpm \
--with-fpm-user=ning \
--with-fpm-group=ning \
--with-fpm-systemd \
--enable-debug \
--with-openssl \
--with-zlib \
--enable-bcmath \
--enable-calendar \
--with-curl \
--with-enchant \
--enable-exif \
--with-ffi \
--enable-gd \
--with-avif \
--with-webp \
--with-jpeg \
--with-xpm \
--with-freetype \
--enable-gd-jis-conv \
--with-mhash \
--enable-intl \
--enable-mbstring \
--with-pdo-mysql \
--with-zlib-dir \
--with-pdo-pgsql \
--enable-sockets \
--with-sodium \
--with-xsl \
--with-zip \
--enable-mysqlnd \
--with-pear