Home > php教程 > php手册 > body text

startos安装apache,php,mysql

WBOY
Release: 2016-06-06 19:43:29
Original
856 people have browsed it

sudo su 输入密码 yget --install apache yget --install php yget --install mysql 都安装好了,在浏览器输入localhost,没反应 要启动服务?怎么启动? 先找到安装到哪里去了 whereis apache whereis php whereis mysql ----------------------------- 输

sudo su

输入密码

yget --install apache

yget --install php

yget --install mysql

都安装好了,在浏览器输入localhost,没反应

要启动服务?怎么启动?

先找到安装到哪里去了

whereis apache

whereis php

whereis mysql

-----------------------------

输入命令: httpd -k start,

Could not reliably determine the server's fully qualified domain name, using 192.168.88.101 for ServerName

经查,是conf文件问题

cd /etc/apache

vim httpd.conf

找到#ServerName

改为 ServerName localhost:80

保存,httpd -k start,成功了


抱歉,未完待续...



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template