Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
RE: [SLE] Apache and PHP4
  • From: "W.D.McKinney" <deem@xxxxxxx>
  • Date: Sun, 21 Apr 2002 10:38:52 -0800
  • Message-id: <PJEKJPGDADOOEIBINDIPMEGLCLAA.deem@xxxxxxx>
I might add that in my experience I had to add index.php in the conf file
to get it to see the new URL I had.

Regards,
Dee

-----Original Message-----
From: Anders Johansson [mailto:andjoh@xxxxxxxxxxxxxxxxxxxxx]
Sent: Sunday, April 21, 2002 10:00 AM
To: suse-linux-e@xxxxxxxx
Subject: Re: [SLE] Apache and PHP4


On Sunday 21 April 2002 19:52, steve wrote:
> Hi
>
> Do you have open office or hancom office installed? They mess up the mime
> types. In /etc restore the original mime.types file. Mine was called
> mime.types.rpmsave

Apache doesn't care about mime types. That is strictly a browser property.
Everything apache uses to decide how to handle a file is in httpd.conf (and
any files that may import).

With Apache in SuSE 7.3 the simplest way to get it to handle php is to a)
make
sure you don't have php3 installed; b) make sure you don't have the apache
ldap module installed, as I understand that collides with php, and

c) edit /etc/rc.config.d/apache.rc.config and set HTTPD_SEC_MOD_PHP to yes
and
run SuSEconfig

Anders



< Previous Next >
Follow Ups
References