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

你可能感兴趣的:(服务器)