No subject
Mon Jul 7 02:11:05 CEST 2008
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
> Date: Wed=2C 9 Jul 2008 19:31:12 +0100
> From: stilman.davis at heuristika.uklinux.net
> To: xitami at lists.xitami.org
> Subject: [Xitami] php and xitami
>=20
> How do you set up xitami to enable php? I haven't seen it on any of the=20
> documents I have found.
>=20
> Regards=2C
> Stilman Davis
>=20
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
--_7a330be1-f733-4f4f-9464-e336c998dfe2_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style>
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt=3B
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>
When you install php=2C the windows version at least=2C it asks you for whi=
ch webserver you are using - Xitami is one of the options and it should aut=
o-config the Xitami .cfg file for you. =3B Otherwise=2C you will need t=
o do it manually=2C which is pretty simple.<br><br>In the Xitami .cfg file=
=2C add the following lines in each of the stated sections:<br><br>[Filter]=
<br> =3B =3B =3B .php=3Dc:\php\php.exe<br><br>[Mime]<br> =
=3B =3B =3B Php=3Dapplication/x-httpd-php<br><br><br>Restart Xitami=
process and test a simple php script. =3B There are one or two securit=
y issues with the php configuration=2C in php itself=2C that you must fix t=
o prevent your system from being left wide open.<br><br>From the PHP instal=
l.txt file:<br><br> =3B =3B Xitami on Windows.<br><br> =3B =
=3B =3B =3B Important for CGI users: Read the faq on cgi.force_redi=
rect for<br> =3B =3B =3B =3B important details. This direct=
ive needs to be set to 0. If you want<br> =3B =3B =3B =3B t=
o use $_SERVER['PHP_SELF'] you have to enable the cgi.fix_pathinfo<br> =
=3B =3B =3B =3B directive.<br><br>Its pretty simple stuff thoug=
h.<br>-R<br><br>>=3B Date: Wed=2C 9 Jul 2008 19:31:12 +0100<br>>=3B Fro=
m: stilman.davis at heuristika.uklinux.net<br>>=3B To: xitami at lists.xitami.o=
rg<br>>=3B Subject: [Xitami] php and xitami<br>>=3B <br>>=3B How do y=
ou set up xitami to enable php? I haven't seen it on any of the <br>>=3B =
documents I have found.<br>>=3B <br>>=3B Regards=2C<br>>=3B Stilman D=
avis<br>>=3B <br>>=3B --<br>>=3B Xitami Users Mailing List -- For Xit=
ami support<br>>=3B To unsubscribe: http://lists.xitami.org/mailman/listi=
nfo/xitami<br></body>
</html>=
--_7a330be1-f733-4f4f-9464-e336c998dfe2_--
More information about the Xitami
mailing list