chenyx 发表于 2009-09-29 21:44

检查下apache的error_log日志

woxe 发表于 2009-09-30 00:15

回复 #10 chenyx 的帖子

apache的error_log日志:


Apache/2.2.13 (Unix) configured -- resuming
normal operations
caught SIGTERM, shutting down

老菜小笠 发表于 2009-09-30 13:30

回复 #1 woxe 的帖子

#vi /usr/local/httpd/conf/httpd.conf加入了;
DirectoryIndex index.html index.php


你把上面的话修改成 index.php index.html
如果还不能 那就是你的php编译本身就有问题

Celinde 发表于 2009-09-30 15:05

index.php 文件有问题,注意不能有中文标点


<?php
phpinfo();
?>

woxe 发表于 2009-10-09 23:29

回复 #14 clairelume 的帖子

重新装了,换了个版本,好了.
有可能犯了个低级错误,修改httpd.conf后没有,重新启动apache,自己羞一个,别笑!谢谢大家

zf7252676 发表于 2015-09-06 17:54

楼主我跟你是一样的问题

zf7252676 发表于 2015-09-06 17:54

怎么解决的
页: 1 [2]
查看完整版本: 能访问index.html,为什么打不开index.php(lamp)