PHP pages not being parsed

I’ve just run into a strange situation. We’re running Nodeworx v4.7.1 on a CentOS 5.5 box. We recently upgraded PHP to v5.2.17 using the iworx unsupported PHP5 repo.

The problem is that now ONE site won’t parse PHP pages. Every other site on this server that is running PHP works just fine. But on this one domain, php pages are simply displayed as text files in the browser. Even a simple <?php phpinfo(); ?> page doesn’t parse.

There is nothing in the .htaccess file for this domain that should affect this, and I’ve compared the /etc/httpd/conf.d/vhost_*.conf files for this domain with one that works, and I can’t see anything of any significance between them.

Any thoughts?

I got the domain in question to work – sort of – by adding the following line to the .htaccess file for this site:

AddHandler php5-script .php

The pages now execute, but phpinfo() returns “Apache 2.0 Handler” in the Server API section, whereas all of the other sites return “CGI/FastCGI”

There are AddHandler x-httpd-php .php lines in the vhost_*.conf files, as well as suPHP config directives, but for some reason, this one site won’t work.

Is there a config setting somewhere I should check that is breaking FastCGI on this site?

Thanks,

Larry Hiscock
AngelicHost