如何安装Ubuntu系统上的PHP7.1版本并配置curl扩展?
- 内容介绍
- 文章标签
- 相关推荐
本文共计158个文字,预计阅读时间需要1分钟。
PHP7+在Ubuntu上安装curl的步骤如下:
1. 使用命令搜索curl扩展:`sudo apt-cache search curl`
2.执行安装命令:`sudo apt-get install php7.1-curl`
3.重启php7.1服务:完成安装后,重启php7.1服务以确保更改生效。
PHP7介绍ubuntu php7.1 安装curl
推荐(免费):PHP7
1、通过命令搜索可用扩展:
sudo apt-cache search curl
结果如下:
2、执行命令
sudo apt-get install php7.1-curl
3、重启php7.1 完成!
本文共计158个文字,预计阅读时间需要1分钟。
PHP7+在Ubuntu上安装curl的步骤如下:
1. 使用命令搜索curl扩展:`sudo apt-cache search curl`
2.执行安装命令:`sudo apt-get install php7.1-curl`
3.重启php7.1服务:完成安装后,重启php7.1服务以确保更改生效。
PHP7介绍ubuntu php7.1 安装curl
推荐(免费):PHP7
1、通过命令搜索可用扩展:
sudo apt-cache search curl
结果如下:
2、执行命令
sudo apt-get install php7.1-curl
3、重启php7.1 完成!

