开发者

PHP Webserver in Python

How can I make a PHP 5.3 webserver using Python?开发者_开发百科

I know how to make a simple HTTP server, but how can I include PHP?

Thanks.


Do you perhaps mean writing your own implementation of a PHP module for your own webserver? eg, writing something like mod_php but in python for your own home rolled web server? You would have to have a mighty good reason for pursuing that...check out LAMP maybe that will do what you need


After some clarifications at last it came clear that your question was "how to connect PHP to HTTP server"

So, actually you were interested in three letters: CGI.

However I still doubt you will get any good from it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜