ubuntu 16.04 安装php7
2022-07-28 15:20:24
115
{{single.collect_count}}
apt-get install php7.0apt-get install libapache2-mod-php7.0apt-get install php7.0-gd

测试:打开"终端窗口",输入

gedit /var/www/info.php<?php phpinfo(); ?>"
保存,文件创建成功。

在火狐浏览器中输入"127.0.0.1\info.php"-->出现了php的版本信息页面,说明php安装配置成功。
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}