试图在10.6.6服务器启用PHP,它不断加载的PHP文本(我可以看到我的.php文件的PHP代码)。
我已经启用服务器pipe理员的php5模块(并validation它在httpd.conf中)..我还可以尝试什么?

我也吹走了当前的httpd.conf并重新开始,没有运气….
您还需要确保执行php代码的configuration已经到位
AddHandler php5-script .php AddType text/html .php
原来我使用PHP短标签,并没有在php.ini中打开它:
; This directive determines whether or not PHP will recognize code between ; <? and ?> tags as PHP source which should be processed as such. It's been ; recommended for several years that you not use the short tag "short cut" and ; instead to use the full <?php and ?> tag combination. With the wide spread use ; of XML and use of these tags by other languages, the server can become easily ; confused and end up parsing the wrong code in the wrong context. But because ; this short cut has been a feature for such a long time, it's currently still ; supported for backwards compatibility, but we recommend you don't use them. ; Default Value: On ; Development Value: Off ; Production Value: Off ; http://php.net/short-open-tag short_open_tag = On
不要忘记清理浏览器caching或尝试使用其他浏览器。