[mod_python] mod_python with other mods like PHP ?

Graham Dumpleton graham.dumpleton at gmail.com
Wed Nov 11 15:24:22 EST 2009


2009/11/12 Carlos Eduardo da Fonseca <eduardowmaster at gmail.com>:
> Hello everyone!
>
> I need to run a Python and PHP apps simultanely (different subdomain only)
>
> Is it possible?

Yes.

If you are using mod_php though that will enforce some undesirable
things on you. First is that you can only use prefork MPM which can
bring a lot of dangers as described in:

  http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html

Second is that PHP loads various single threaded libraries and if
Python needs same library but where Python needs or loads
multithreaded version, then you have crashes and other strange
behaviour.

Graham


More information about the Mod_python mailing list