Re: Anyone using PHP?


Subject: Re: Anyone using PHP?
From: Iain Stevenson (iain@iainstevenson.com)
Date: Tue Feb 19 2002 - 03:55:21 MST


You may need this for compatibility with php3 and legacy php apps:

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

  Iain

--On Tuesday, February 19, 2002 4:30 am -0500 Christopher Murtagh
<christopher.murtagh@mcgill.ca> wrote:

> On Tue, 19 Feb 2002, Mark Jaffe wrote:
>> I followed the install instructions on the latest tarball (4.1.1 of
>> PHP) and compiled it into the latest Apache (1.3.23) and it is not
>> serving my pages (ignoring embedded code.) Has anyone else tried
>> this?
>
> Yup (shameless plug):
>
> http://uptime.netcraft.com/up/graph/?mode_u=off&mode_w=on&site=www.mcgill
> .ca
>
> and it is working without any problems so far (well Apache 1.3.20). My
> guess is it is a config problem. Check your httpd.conf file and make sure
> that the settings are what you expect there.
>
> For example, some important ones with regard to php are (make sure they
> aren't commented out):
>
> LoadModule php4_module libexec/libphp4.so
>
> AddModule mod_php4.c
>
> AddType application/x-httpd-php .php
>
> Cheers,
>
> Chris
>
> --
>
> Christopher Murtagh
> Webmaster / Sysadmin
> Web Communications Group
> McGill University
> Montreal, Quebec
> Canada
>
> Tel.: (514) 398-3122
> Fax: (514) 398-2017
>
>



This archive was generated by hypermail 2a24 : Tue Feb 19 2002 - 04:15:56 MST