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.
Solution 1:
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
Solution 2:
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.
Post a Comment for "PHP Webserver In Python"