[Xitami] Xitami and PHP

Patricko xitami@lists.xitami.org
Sat, 21 Dec 2002 05:07:27 -0700


----- Original Message ----- 
From: "Otto Haldi" <ottohaldi@datacomm.ch>
To: <xitami@lists.xitami.org>
Sent: Saturday, December 21, 2002 2:27 AM
Subject: [Xitami] Xitami and PHP


> I can't set up Xitami to work with PHP.
>
> I tried to include the PHP.EXE in the Filter Section, but
> nothing happend.
>
> Could somebody tell me if they are more help about that?
>
> Many thanks in advance for your help.
>
> Otto
here is what I have in my defaults.cfg file

[Filter]
    .php = "c:\\php\\php.exe"
    .phps = "C:\\php\\php.exe -s"
    .phtml = "C:\\php\\php.exe"
    .shtm = "perlssi"
    .shtml = "perlssi"
    .ssi = "perlssi"
then under mimes

[Mime]
Php = "application/php"
Phps = "application/php"
Phtml = "application/php"

also in my autoexec.bat
SET PATH=C:\PHP\;%PATH%

this seems to work for me I am running Version 2.5b5 on XP home
should work from this but check the archives from the list you can get there
at the link from the bottom of all xitami list mail