Home  >  Article  >  php教程  >  startos安装apache,php,mysql

startos安装apache,php,mysql

WBOY
WBOYOriginal
2016-06-06 19:43:29829browse

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,成功了


抱歉,未完待续...



Statement:
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