Page 1 of 1

[solved] php files aren't rendered by apache

Posted: Fri Dec 01, 2006 12:11 am
by cosmicfantasia
Hi,

After an ART upgrade I have been working through problems and now seam to have some light at the end of the tunnel. Although having another post open on another smaller issue, I thought it be best to open another post for this new issue.

The problem is that php files aren't getting rendered by apache. When you goto a php file in the browser it shows the contents of the php file and not the page that is supposed to be rendered. see http://webmail.cosmicfantasia.net/ for example

It is probably something that needs to be configured, but I'm not sure what. FYI > apache is running > it's a fedora core 3 machine, plesk 8 is installed

Thanks... :)

more info

Posted: Fri Dec 01, 2006 2:19 am
by cosmicfantasia
Could this have anything to do with the fact that /etc/httpd/conf.d/php.conf.rpmnew never existed for me to move it to /etc/httpd/conf.d/php.conf ?

Very stuck. Hope somebody can help?

Thanks :)

fyi

Posted: Fri Dec 01, 2006 3:25 am
by cosmicfantasia
If others ever come across this, it was the problem of /etc/httpd/conf.d/php.conf.rpmnew not existing so not being able to copy it to /etc/httpd/conf.d/php.conf

In the end I simply copied /etc/httpd/conf.d/php.conf.v4 to /etc/httpd/conf.d/php.conf and all was good.

:)