[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] Question regarding linking PHP Parser library into my private Http server
From:       "Nathan Nobbe" <quickshiftin () gmail ! com>
Date:       2007-12-31 1:14:01
Message-ID: 7dd2dc0b0712301714k32b4e0f3gf432d90d88dfe9da () mail ! gmail ! com
[Download RAW message or body]


On Dec 30, 2007 7:57 PM, Richard Lynch <ceo@l-i-e.com> wrote:

> On Sun, December 30, 2007 3:02 am, Talya Nevo wrote:
> > I am porting my software from Linux to =B5C/OS-II OS.
> > On Linux I ran the Boa Web server with PHP.
> > The =B5C/OS-II has a basic open source Http Server that does not suppor=
t
> > PHP or CGI.
> >
> > What I was able to do - is from the Http server, each time an http
> > request is received, call using 'System' function the PHP interpreter
> > program (like from cli) with input the requested page.
> > This seams to basically work but it is not efficient at all.
> >
> > What I would like to do is to link the Http Server to the basic PHP
> > parser library and call the 'parse' function each time the server gets
> > an http request.
> >
> > Is this possible?
> > Does anyone know how to do this - which library to link to, which
> > function to call, maybe an example.
> >
> > Thanks for your help.
> >
> > Talya Nevo
> > talya.nevo@celeno.com
>
> You could probably have a MUCH easier time and benefit the PHP
> community a WHOLE lot more by looking at the Apache/CLI/Isapi API
> implementations.
>

or maybe something more lean like lighttpd would be a bit easier.
(it supports php via cgi and optionally fastcgi)

-nathan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic