Php Problems with fedora core 4

Associate
Joined
28 Sep 2003
Posts
1,724
Location
Leamington Spa
Hi, I'm having problems getting php installed on my friends fedora core 4 box - I just can't seem to get it working.

I've used yum to install php, and it seems to be installed, however, using a php info page doesn't work - it comes out blank, and most php scripts are just displayed as plain text so obviously it's not working. I'll be honest - I don't have any experince with how fedora handles things so it's left me quite confused... getting php working on other distrobutions I'm more friendly with has always been really easy.

Any help greatly appreciated :D
 
if you are getting plain text then it sounds like the php is not switched on, you should have a line similar to below in your php.conf file in /etc/httpd/conf.d directory

AddType application/x-httpd-php .php
 
Back
Top Bottom