Linux操作系统下搭建LAMP环境

准备:先在目录home/csy/下建website代码目录,然后新建php文件,命名为test.php。 在test.php编写代码如下: <? php phpinfo(); ?> 保存并退出。 一、安装Nginx。 在root用户下直接执行apt-get install nginx即可安装,完成后键入nginx -v,若有版本号显示出来表示已安装。然后,键入 ps aux | grep ngin
相关文章
相关标签/搜索