wamp python

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


12 points

I want to get a simple Python "hello world" web page script to run using WAMP. I've installed mod_python and the module shows, but I'm not quite sure what I'm supposed to do in e.g. http.conf. I can get mod_python.publisher to work but do I "want" this/ need this?

Can anyone help?



2 points

Refer the tutorial Wamp python Apache

-Reka

Anonymous's picture
Created by Anonymous
6 points

With permission: After much bashing of my head, I could finally run Python using WAMP on windows. And finally when it ran, it looked like an easy task provided somebody must have given correct pointers to it.
Unable to find a good pointer for myself, here I come up with the one:

Important point is that I could run Python on WAMP that has following configuration:
1. Apace: 2.0.59
2. Python 2.4
3. mod_python-3.2.8.win32-py2.4.exe
And finally, a httpd.conf file.

The order of installation should remain same. And WAMP is assumed to be installed at C:/wamp. Python at C:/Python24 and mod_python uses Python of C:\Python24 directory and puts mod_python.so in
C:\wamp\Apache2\modules directory.

All of these can be downloaded from below:

1. WAMP5
2. Download python 2.4. I used ActivePython-2.4.3.12-win32-x86.msi.
3. Download mod_python
4. Download httpd.conf. Replace your earlier httpd.conf with this one.

Anonymous's picture
Created by Anonymous

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.