标签搜索

Centos7 编译安装php-8.3.7

sunshine
2024-06-05 / 0 评论 / 33 阅读
温馨提示:
本文最后更新于2024年06月05日,已超过94天没有更新,若内容或图片失效,请留言反馈。

官网下载并解压php-8.3.7

https://www.php.net/downloads.php

cd php-8.3.7

./configure \
--prefix=/usr/local/php-8.3.7                    \
--with-config-file-path=/usr/local/php-8.3.7/etc   \
--with-zlib-dir \
--with-freetype \
--enable-mbstring --disable-mbregex\
--enable-soap \
--enable-calendar \
--with-curl \
--with-zlib \
--enable-gd \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-zlib \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-pcntl \
--enable-mbregex \
--enable-exif \
--enable-bcmath \
--with-mhash \
--with-zip \
--with-pdo-mysql \
--with-mysqli \
--with-mysql-sock=/var/run/mysqld/mysqld.sock \
--with-jpeg \
--with-openssl \
--with-fpm-user=www \
--with-fpm-group=www \
--with-libdir=/lib/x86_64-linux-gnu \
--enable-ftp  \
--with-kerberos \
--with-gettext \
--with-xmlrpc \
--with-xsl \
--enable-opcache \
--enable-intl \
--with-pear \
--enable-fpm \
--disable-fileinfo
make && make install
感觉很棒,欢迎点赞 OR 打赏~
0
分享到:

评论 (0)

取消