ubuntu18.04 安装php7.3.4

wget http://am1.php.net/distributions/php-7.3.4.tar.gz
cd php-7.3.4
sudo apt update
sudo apt -y install gcc
sudo apt -y install make
sudo apt -y install openssl
sudo apt -y install curl
sudo apt -y install libbz2-dev
sudo apt -y install libxml2-dev
sudo apt -y install libjpeg-dev
sudo apt -y install libpng-dev
sudo apt -y install libfreetype6-dev
sudo apt -y install libzip-dev
sudo apt -y install libssl-dev
sudo apt -y install libcurl4-openssl-dev
sudo apt -y install libjpeg-dev
sudo apt -y install libpng-dev
sudo apt -y install libfreetype6-dev
sudo apt -y install libzip-dev
./configure --prefix=/home/webapps/Application/php --with-config-file-path=/home/webapps/Application/php/etc --enable-fpm --with-mysqli --with-pdo-mysql --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --enable-ftp --with-gd --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --disable-fileinfo --enable-maintainer-zts

发布了50 篇原创文章 · 获赞 20 · 访问量 10万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览