use php in python httpservers

Diez B. Roggisch deets at nospam.web.de
Tue May 6 07:00:14 EDT 2008


artasis 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/067232704X

Might be of help.

And maybe the roadsend PHP-compiler.

Diez



More information about the Python-list mailing list