Re: [SLUG] RH8 Question

From: Kai Lien (kai@lenseco.com)
Date: Thu Mar 27 2003 - 08:54:12 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, it is working for me.

Make sure in httpd.conf, the .php files are parsed as php scripts. Here
are some key points in the httpd.conf:

DirectoryIndex index.php index.html index.html.var
AddType application/x-httpd-php .php .html

if you want all .html files to be parsed as php then add the .html to the
line above.

Kai

On 27 Mar 2003, Austin Theen 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?
>
>

- --

Kai Lien

DSA key ID 39BD44C0

Lense Consulting Company
www.lenseco.com

Fortune Cookie of the Day:

I'd rather be led to hell than managed to heavan.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+gwKIztiWgzm9RMARAs10AJ91IasMGhw8dOUwNfESR7YMzaOCswCfc/6i
l2pH5KHn8iWWg52gxz8sQ38=
=cs4m
-----END PGP SIGNATURE-----



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