linux:安装php70w
安装php70w
http://www.thinkphp.cn/topic/48196.html
以下是centos7安装php70w 1.安装epel-release 通过命令: yum -y install epel-release 成功安装。 2.安装PHP7 终端再次运行如下命令: rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 成功获取PHP7的yum源,然后再执行: yum install php70w 这样就大功告成了。 3.验证安装 终端命令:PHP -v,显示当前PHP版本,信息如下: [root@localhost html]# php -v PHP 7.0.33 (cli) (built: Dec 6 2018 22:30:44) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
1. 使用
# 开启服务 systemctl start httpd.service # 重启服务 systemctl restart httpd.service # 停止服务 systemctl stop httpd.service # 开机启动 systemctl enable httpd.service # 取消开机启动 systemctl disable httpd.service
linux/安装php70w.txt · 最后更改: 2023/03/17 10:12 由 127.0.0.1