Re: Question regarding linking PHP Parser library into my private Http server
| From: | Richard Lynch | Date: | Mon, 31 Dec 2007 00:57:12 +0000 |
| Subject: | Re: Question regarding linking PHP Parser library into my private Http server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266405@lists.php.net to get a copy of this message | ||
On Sun, December 30, 2007 3:02 am, Talya Nevo wrote:
> I am porting my software from Linux to µC/OS-II OS.
> On Linux I ran the Boa Web server with PHP.
> The µC/OS-II has a basic open source Http Server that does not support
> 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.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?