1、安装必要的一些工具,参考:
https://blog.csdn.net/weixin_44543463/article/details/112535172
2、安装php7.0-fpm失败,参考:
https://www.jianshu.com/p/f3831f2bfa01
###第一步
sudo apt-add-repository ppa:ondrej/php
###第二步
sudo apt-get update
###第三步
sudo apt-get install php7.2 php7.2-fpm
3、在php里面显示图片:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>产品信息</title>
</head>
<body>
<p>联系电话</p>
//图片的路径要为相对路径
<img src="./image/11.jpg" alt="Google Chrome" width="640" height="480">
<img src="./image/22.jpg" alt="Google Chrome" width="640" height="480">
<p>电话:</p>
<p>地址:
</p>
</body>
</html>
4、内网穿透
https://dashboard.cpolar.com/get-started