Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a MAMP 1.9 install on Lion and would like to start using python with it. Mainly to learn and develop django sites.

I am very new to python in general. In my research I found that I either need mod_python or mod_wsgi to make it work. But found little instructions on how to proceed and make it work.

So what's the difference between mod_wsgi and mod_python? which one is better?

and is there any guide on how to install it to work with mamp 1.9's apache and mysql? Ideally a step by step guide..

thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Both can run in embedded mode, but only mod_wsgi can run in daemonmode. Mod_wsgi is also written in C, so it has less overhead than mod_python (meaning lower memory/cpu footprint). Another reason to use mod_wsgi over python is that mod_python is dead.

share|improve this answer
    
FWIW. The core of mod_python is written in C as well. Depending on what parts of mod_python you use, it then has varying depth of Python code on top of that. –  Graham Dumpleton Apr 12 '12 at 1:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.