发布时间:2021-11-21 16:33:23 已有0个回答 浏览499次
编译命令如下 tar xvzf php-7.4.26.tar.gz cd /usr/local/php-7.4.26 ./configure --prefix=/usr/local/php7.4.26 --with-config-file-path=/usr/local/php7.4.26/etc --with-gd=/usr/local/gd --with-zlib=/usr/local/zlib --with-libzip=/usr/local/libzip --with-iconv-dir=/usr/local/libiconv --with-freetype-dir=/usr/local/freetype --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/libpng --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-sysvsem --enable-inline-optimization --with-curl=/usr/local/curl --enable-mbregex --enable-fpm --enable-mbstring --enable-pdo --with-pdo-mysql=/usr/local/mysql --enable-mysqlnd --with-pdo-sqlite --with-openssl=/usr/local/openssl --with-pcre-dir=/usr/local/pcre --enable-shmop --enable-opcache=no --with-xpm-dir=/usr/lib64/ --enable-sockets --enable-shared --with-mhash --enable-soap --enable-pcntl --enable-sysvmsg --enable-sysvshm --with-bz2 --with-readline --with-pear --enable-calendar