[Xitami] Xitami PHP UNIX

Paul N Shortis xitami@lists.xitami.org
Thu, 30 Aug 2001 12:53:31 +1000


You can compile php as a cgi. If you want a compiled in server extension (WSX)
you would have to write the interface yourself, take a look at the various sub
directories of the php 'sapi' directories to see how various server api's are
implimented - unfortuately Xitami isn't one of them.

Quite frankly I wouldn't take this route as LRWP is a fairly simple protocal &
is likely to cause you far less grief than WSX. You could use the fastcgi
interface in php's sapi/fastcgi directory as a starting point & just replace the
necessary bits with calls to the Xitami lrwp functions that are supplied with
the Xitami source. This is likely to give you far fewer headaches & if you write
a simple process manager to manager / kill/ re-start the lrwp php process you
will have a very robust server & php is such a joy to program in, you get the
best of both worlds.

Regards, Paul





kenford@infomak.com on 30/08/2001 12:04:14 PM

Please respond to xitami@lists.xitami.org

To:   xitami@lists.xitami.org
cc:    (bcc: Paul N Shortis/Roads/QMR/Au)
Subject:  [Xitami] Xitami PHP UNIX




I it possible to compile PHP with Xitami, if so how
I figure I'll try PHP because no one seems to
know how to create a LRWP application and I'm tired
of guessing.

--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami








************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or National Transport Secretariat, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************