php无法执行

由 Master 在 06-19-2003 21:08 发表:

php无法执行

按精华区的帖子,小弟装了apache+php+mysql

启动apache服务后,可以浏览网页了,但是简单的php语句却无法执行,不知是什么原因?能不能提供个httpd.conf让小弟参考一下?


由 goldsealin 在 06-20-2003 09:42 发表:


同样问题,

运行PHP文件的时候把源程序显示出来了~~


由 jeoncanon 在 06-20-2003 11:55 发表:


如果软件编译好的话

在srm.conf

文件中添加如下内容看看

AddType application/x-httpd-php .php

AddType application/x-httpd-php .php .php3 .htm .phtml .php4

DirectoryIndex index.htm index.html index.php3 index.php default.php


由 goldsealin 在 06-20-2003 15:27 发表:


在apache2x中 httpd.conf里面加

1<files *.php="">   
2  
3xxxxx   
4  
5</files>

也不行


由 linuxiae 在 06-22-2003 16:11 发表:


问题一样,关注ing......

按照资料,编译安装一切顺利,就是输入

IP/info.php显示出info.php的源码。


在人类的整个生涯中所能发生的最悲惨的事情,其实就是我们仅仅生存下去却完全没有进步与发展。人生最终的价值在于觉醒和思考的能力,而不只在于生存!


由 likun 在 06-22-2003 17:13 发表:


重新编译apache和php,把php编译成静态模块,参考站内文章。

其实使用发行版自带的也能马上工作的。


Published At
Categories with 服务器类
Tagged with
comments powered by Disqus