[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php not working



bob hope <bob_mail9@yahoo.co.uk> wrote on 28/04/2001 (18:22) :
> 
> Like the documentation said I added this to the apache
> srm.conf.
> 
> AddHandler php3-script  .php3
> 
> and now even the .php3 files dont work?
> 
> Any more ideas? Thanks

This works fine for me:

httpd.conf:LoadModule php3_module /usr/lib/apache/1.3/libphp3.so

mime.types:application/x-httpd-php           phtml pht php
mime.types:application/x-httpd-php3       php3
mime.types:application/x-httpd-php3-source         phps
mime.types:application/x-httpd-php3-preprocessed      php3p

srm.conf:DirectoryIndex index.php3 index.phtml index.html
srm.conf:AddType application/x-httpd-php3 .php3 .phtml
srm.conf:AddType application/x-httpd-php3-source .phps

but I have called my files .php3 not .php

-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»



Reply to: