Re: [SLUG] RH8 Question

From: SpamFree (SpamFree@tampabay.rr.com)
Date: Thu Mar 27 2003 - 09:50:17 EST


On Thursday March 27 2003 09:13 am, you wrote:
> Hey all,
>
> I've been stuck on a Red Hat 8 server that has apache 2.0.40 and PHP
> setup as a filter instead of a module. This was the default setup for RH
> in 8. Why they did this is beyond me. It does not work out of the box.
> Even after a fresh install, it doesn't work.
>
> What happens is this: Apache works like a champ, sends the right html
> for the virtual domain, adds the SSI for static pages, but when you goto
> a PHP page, it sends the actual PHP code instead of filtering it through
> the PHP interpreter.
>
> Everything appears correct in apache.conf and there are no major changes
> to php.ini, I've googled this for awhile and came back with nothing
> substantial. So I ask the list, has anyone got RH8+Apache2.0+PHP4 to
> work?

For pages that include PHP code, change the file extension form .html to .php.

or

Re-install Apache/PHP as a module, as you desire.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:17:06 EDT