Apache chapter 3

Martin Marcher martin.marcher at openforce.com
Fri Dec 22 23:15:18 UTC 2006


Am 22.12.2006 um 17:10 schrieb Michael Satterwhite:

> Martin Marcher wrote:
>> Hello,
>>
>> Am 21.12.2006 um 16:55 schrieb Michael Satterwhite:
>>
>>> From mime.types
>>> application/x-httpd-php                         php phtml pht
>>> application/x-httpd-php-source                  phps
>>> application/x-httpd-php3                        php3
>>> application/x-httpd-php3-preprocessed           php3p
>>> application/x-httpd-php4                        php4
>>>
>>> From modules.conf
>>> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>>
>> Looks fine to me,
>>
>> do you have addhandler in the apache config? AFAIR apache needs to
>> know which files to handle with which module.
>
> None of the AddHandler items reference php.

Finally found an old apache1.3 config :)

(note this is mac so you may need to change the paths)

# AddType application/x-httpd-php .php
# LoadModule php4_module        libexec/httpd/libphp4.so
# AddModule mod_php4.c

hope that finally helps.

If I may ask why are you still using apache1.3? imho there are more  
bugs in 1.3 than in 2 and a lot of howtos do actually reference  
apache2 even they just say apache+(whatever)

hth
martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2474 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061223/821bd50e/attachment.bin>


More information about the ubuntu-users mailing list