wget http://cn2.php.net/distributions/php-7.2.9.tar.bz2
tar xvjf php-7.2.9.tar.bz2 -C .
cd ./php-7.2.9
./configure --prefix=/opt/php7/ --with-openssl --with-zlib
make -j2
sudo make install
sudo ln -s /opt/php7/bin/php /usr/local/bin/php

php7.2 src

链接: https://pan.baidu.com/s/1j1g1CVtGoCqkKynhzzFyfg 密码: aiix

 

lnmp安装视频教程

https://edu.aliyun.com/lesson_50_679?spm=5176.10731542.0.0.7b362a658VnYkV#_679