Re: [PHP] Question regarding linking PHP Parser library into my private Http server



On Dec 30, 2007 4:02 AM, Talya Nevo <TalyaNevo@xxxxxxxxxx> wrote:


Hi,

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.


though i have not interacted with them, i suspect this question may be
better received on the internals list.

-nathan


Relevant Pages

  • Re: PHP script attack?
    ... your web server and ... and your PHP is patched. ... The script started from the URL '/thisdoesnotexistahaha.php' with parameters ... The HTTP server ...
    (microsoft.public.security)
  • Question regarding linking PHP Parser library into my private Http server
    ... 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 with input the requested page. ...
    (php.general)
  • Re: PHP vs ASP.NET?
    ... I love AS400s with HTTP Server (powered by Apache), I think it almost kills IBM to admit that they are running apache:) ... PHP works with many commercial ...
    (alt.php)
  • Re: [PHP] Question regarding linking PHP Parser library into my private Http server
    ... 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, ...
    (php.general)
  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)