Using WAMP server to run cgi python , cgi-bin , PHP , apache , scripts

Python

Video is ready, Click Here to View ×


Check my updated video on this.
How to set up wamp to use Python CGI programming and php on your own computer. SQL works also. Only tested on windows.All programs can be run through localhost in browser and files stored in www directory in wamp.
Wamp Version 2.4
Python.3.5.0

Link to Python https://www.python.org/downloads/release/python-350/

Link to Wamp
http://sourceforge.net/projects/wampserver/files/WampServer%202/Wampserver%202.4/

Has to be Python 3.5.0 and wamp 2.4 to work !!!

add…

16 thoughts on “Using WAMP server to run cgi python , cgi-bin , PHP , apache , scripts

  1. I'm actually having issue to run .py files on localhost but I'm able to run php on localhost. I've made the necessary changes but still getting error. Could you please copy paste the exact httpconfig code so that I'll recheck plz. Waiting!

  2. Thanks for your solution. But I have a problem. I'm using wamp 2.1 and python 3.5. I followed your instructions but at the end I get 500 internal server error. This is the message
    1) "The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at wampserver@wampserver.invalid to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log."
    Please help.

  3. Applied this method using Python 2.7 and WAMP 2.5 and it works great. Just changed the relevant paths and the Python installer was slightly different, but not too bad.

    Great walk through, thank you for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *