ubuntu 安装 php7.4

wget https://www.php.net/distributions/php-7.4.4.tar.gz 
tar -zxvf php-7.4.4.tar.gz 
cd php-7.4.4

./configure --prefix=/home/php --with-config-file-path=/home/php/etc --with-fpm-user=daokr --with-fpm-group=daokr --with-pdo-mysql --with-openssl --with-pear --with-mhash --with-xmlrpc --with-zlib --with-curl --enable-gd --without-sqlite3 --without-pdo-sqlite --disable-rpath --without-pear --enable-fpm --enable-maintainer-zts --enable-pcntl --with-tsrm-pthreads --enable-mbstring --enable-mbregex --enable-bcmath --enable-sockets --enable-soap --enable-xml --enable-inline-optimization --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-ftp --with-gettext --enable-opcache

make && make install

 

posted @ 2020-03-26 23:38  王默默  阅读(1499)  评论(0编辑  收藏  举报