优美短文

centos7 php7.3

./configure --prefix=/root/php/php-7.3.10/output \
--with-mhash \
--with-openssl \
--with-mysqli=shared,mysqlnd \
--with-pdo-mysql=shared,mysqlnd \
--with-gd \
--with-iconv \
--with-zlib \
--enable-zip \
--enable-inline-optimization \
--disable-debug \
--disable-rpath \
--enable-shared \
--enable-xml \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-mbregex \
--enable-mbstring \
--enable-ftp \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-soap \
--with-gettext \
--enable-session \
--with-curl \
--with-jpeg-dir \
--with-freetype-dir \
--enable-opcache \
--enable-fpm \
--with-fpm-user=nginx \
--with-fpm-group=nginx \
--without-gdbm \
--enable-fast-install \
--disable-fileinfo

cd /root/php/php-7.3.10
make && make install

mkdir -p /root/php/php-7.3.10/output/lib
cp /root/php/php-7.3.10/php.ini-production /root/php/php-7.3.10/output/lib/php.ini
/root/php/php-7.3.10/output/bin/pecl config-set php_ini /root/php/php-7.3.10/output/lib/php.ini
/root/php/php-7.3.10/output/bin/pear config-set php_ini /root/php/php-7.3.10/output/lib/php.ini
/root/php/php-7.3.10/output/bin/pecl install swoole

  

posted @ 2019-10-18 14:23  一根PHP  阅读(419)  评论(0编辑  收藏  举报