All I get is the source code for the PHP pages...

blakeloring

Joined: 2002-08-26
Posts: 1
Posted: Fri, 2002-09-13 01:26

Here is my site:

http://www.loringfam.com/gallery/
RedHat 7.1 (Running Clarkconnect 1.0)
apache-1.3.22-6
gallery-1.3.1-2
php-4.0.6-12

I have removed and reinstalled PHP to no avail. I would think that the problem is PHP is not reading the files (or translating them) which would tell me that it isn't installed. I have done an 'rpm -q -a' and see that it is installed.

Any help would be greatly appreciated.

BL

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-09-13 03:30

It sounds like you don't have apache properly configured to handle
php files to me. Check your configuration as this isn't a Gallery issue.

 
Pharkie

Joined: 2002-08-21
Posts: 3
Posted: Fri, 2002-09-13 09:42
Quote:
It sounds like you don't have apache properly configured to handle
php files to me. Check your configuration as this isn't a Gallery issue.

Yep..sounds like you need to add in httpd.conf (on mine in /etc/httpd/conf/httpd.conf) the AddHandler directives for PHP. You can find help on this elsewhere, but you need a line telling Apache to handle .php, .php4 etc files differently to other ones..