问题
I use python -m SimpleHTTPServer
when I want to run my web application locally, quickly and without much pain. However, SimpleHTTPServer
lacks any PHP support (or even MySQL support).
Is there something similar I can do (preferably but not necessarily to do with Python) to get a quick PHP server up and running for testing?
回答1:
WPHP will allow you to run PHP in a WSGI container, of which there are several standalone.
来源:https://stackoverflow.com/questions/9900706/simple-python-server-similar-to-simplehttpserver-but-with-php-support