Skip to content

jstacoder/php-wsgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-WSGI

Have you ever wanted to run a php app from the comfort of your trusty python code?

No Really?!? Have You??

well now you can

# just import our wsgi wrapper 
from php_wsgi.php_app import PhpWsgiApp

if __name__ == "__main__":
    # just create your app, and let it know where to look for files
    app = PhpWsgiApp('my_app')
    # then run like a flask app
    app.run(host='0.0.0.0',port=8888,debug=True)

its that easy

About

run your php application through python. Using the wsgi standard route requests from your php app to your php-cgi binary file

Resources

Stars

Watchers

Forks

Packages

No packages published