In httpd.conf make sure you have the following lines in the appropriate
sections:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php-sources .phps
AddType application/x-httpd-php .php
From: "Yan Seiner" <>
Date: 2007/07/10 Tue PM 02:02:21 EST
To:
Subject: [ts-7000] Re: Apache not serving up PHP4 pages
--- In "danmoore63043" <> wrote:
>
> I have these packages installed:
>
> apache-common
> apache-ssl
> libapache-mod-php4
> php4
> php4-common
> php4-mysql
>
> When I browse web pages that contain php, that code gets ignored.
> There are no errors in /var/log/apache-ssl/error.log
>
> Has anyone else encountered/resolved this, or know how to
> trouble-shoot it?
>
> Thanks,
> Dan
>
Have you ever solved this? I'm running into the exact same issue...
php pages get served up as text.
AFAICT libphp4 is in modules.conf and is on the right path, so it
should be loaded. I can't figure out how to turn on debugging in
apache 1.3....
--Yan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|