[Xitami] php and xitami

Stilman Davis stilman.davis at heuristika.uklinux.net
Wed Jul 9 23:27:27 CEST 2008


R,

Thanks very much. I liked xitami when I had it set up on another 
machine, then i had apache on another machine.

I am trying to break in another machine and thought I would try it 
again. I knew I had seen some details somewhere, but I could not 
remember where.

Thanks very much for your help.
Regards,
Stilman

R O wrote:
> When you install php, the windows version at least, it asks you for 
> which webserver you are using - Xitami is one of the options and it 
> should auto-config the Xitami .cfg file for you.  Otherwise, you will 
> need to do it manually, which is pretty simple.
>
> In the Xitami .cfg file, add the following lines in each of the stated 
> sections:
>
> [Filter]
>     .php=c:\php\php.exe
>
> [Mime]
>     Php=application/x-httpd-php
>
>
> Restart Xitami process and test a simple php script.  There are one or 
> two security issues with the php configuration, in php itself, that 
> you must fix to prevent your system from being left wide open.
>
> From the PHP install.txt file:
>
>    Xitami on Windows.
>
>      Important for CGI users: Read the faq on cgi.force_redirect for
>      important details. This directive needs to be set to 0. If you want
>      to use $_SERVER['PHP_SELF'] you have to enable the cgi.fix_pathinfo
>      directive.
>
> Its pretty simple stuff though.
> -R


More information about the Xitami mailing list