ubuntu安装php-第二章

觉得第一篇文章有许多没有写的东西,这次完善一下
步骤
1、https://ubuntu.com/search?q=php 打开官网搜索php
2、点开第二个

3、这里需要注意,如果你的环境是apache的话,按照步骤一步步走就行,如果是nginx,输入以下命令,
sudo apt install php,然后sudo apt-get install php-fpm

参考链接:https://help.ubuntu.com/lts/s…
https://help.ubuntu.com/commu…

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理