IfModule for php-4?

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sat Aug 14 15:31:08 UTC 2004


Am Sa, den 14.08.2004 schrieb Thomas Zehetbauer um 16:37:

> That is why I am asking here, neither mod_php.c, mod_php4.c, libphp.c
> nor libphp4.so worked for me and strings turned up nothing useful
> either.
> 
> Tom

Ok, I finally found it - at least I think so:

<IfModule sapi_apache2.c>
    AddType application/x-httpd-php-source .phps
</IfModule>

This works for my with Apache2 and PHP4 on FC1 (I have no Apache2
running on FC2 actually). Of course put in what you need inside the
condition statement. My "AddType" is just what I used for testing.

Hope it helps.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 17:28:48 up 10 days, 10:56, load average: 0.34, 0.46, 0.38 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040814/a0fd89d1/attachment-0001.sig>


More information about the fedora-list mailing list