use php in python httpservers

artasis at gmail.com artasis at gmail.com
Wed May 7 05:11:42 EDT 2008


On May 6, 3:00 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> arta... at gmail.com wrote:
> > Hi, that is my task:
> > I need to create python webserver-like extension(dll) which will run
> > php and python scripts as plugins.
> > I have no problems with dll creating and run python scripts, but I
> > cannot understand how to run php(CLI is not a solution).
> > Is there a way to solve this problem? I've thought to implement php to
> > HTTPServer-like python module, but as I see it's impossible. Solutions
> > with creating intermediate C-based module is allowed, but better
> > without them :).
> > AFAIK, php5ts.dll is that what I must use but how integrate it to
> > python webserver? that is a question
>
> http://www.amazon.com/Extending-Embedding-PHP-Developers-Library/dp/0...
>
> Might be of help.
>
> And maybe the roadsend PHP-compiler.
>
> Diez
thanks! great book! this would help with Jeff recommendations to use
ctypes




More information about the Python-list mailing list