18910140161

使用php为本地html文件生成url

顺晟科技

2022-09-15 22:18:02

33

1. 查看你是不是有php

   which php

2.  假设你的Demo.html 路径为 /Users/Sheron/Downloads/Demo.html 

   

cd /Users/Sheron/Downloads/
php -S localhost:8080

3.  在浏览器打开 https://localhost:8080/Demo.html 就可以了

 

 

相关文章
我们已经准备好了,你呢?
2024我们与您携手共赢,为您的企业形象保驾护航