How about including

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

outside of the following?:

<IfModule mod_php4.c>
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
</IfModule>


----- Original Message -----
From: "Ian Barnes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 5:23 PM
Subject: PHP question


> Hi,
>
> I have just re-installed apache, then mod_php4.  I kept my old httpd.conf,
> put it back, fired up apache, checked the website, and it displays all the
> php code.
>
> Any ideas as to what can be wrong.
>
> Attached please find my httpd.conf
>
> Thanks alot.
>
> Ian
>


----------------------------------------------------------------------------
----


> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to