php
共 1 篇文章
ubuntu下的apache+php环境安装和配置
ubuntu下的apache+php环境安装和配置 ■一、安装Apache2 #apt-get install apache2 安装好后,重启 service apache2 restart ,会发现1条警告信息: 有一条关于ServerName的警告。 要去除该警告,必须修改 /etc/apache2/apache2.conf 配置文件 在apache2.conf的文件末尾加上一行 ServerName localhost 保存退出。 重新启动apache2: service apache2 restart 重新启动 service apache2 stop 停止 service apac…