[solved] php files aren't rendered by apache

Support/Development for PHP
cosmicfantasia
Forum User
Forum User
Posts: 12
Joined: Thu Nov 30, 2006 7:32 am

[solved] php files aren't rendered by apache

Unread post 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... :)
Last edited by cosmicfantasia on Fri Dec 01, 2006 3:22 am, edited 1 time in total.
cosmicfantasia
Forum User
Forum User
Posts: 12
Joined: Thu Nov 30, 2006 7:32 am

more info

Unread post 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 :)
cosmicfantasia
Forum User
Forum User
Posts: 12
Joined: Thu Nov 30, 2006 7:32 am

fyi

Unread post 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.

:)
Post Reply