apache结合php遇到的故障
启动apache时出现错误:
/usr/地方/输入/bin/apachectl - t AH00526: Syntax error 提醒line 367年,of /usr/地方/输入/conf/httpd . conf: AddType requires  at least  two 参数,,a mime type followed by one 或是more file 扩展
AddType应用程序/x-httpd-php.php ,启动apache出现AddType至少需要两个参数,一个mime类型随后>重启apachel语法检测正常 [root@centos6 地方]#,/usr/地方/输入/bin/apachectl - t Syntax 好
报服务器主机名描述警告
[root@centos6 地方]#,/usr/地方/输入/bin/apachectl - t AH00558: httpd: Could not reliably determine 从而服务器's fully qualified domain 名字,,using 192.168.25.113只Set 从而' ServerName, directive globally 用suppress 却;能够消息 Syntax 好
vi /usr/地方/输入/conf/httpd . conf 修改httpd . conf文件: ServerName localhost: 80