Re: mod_python with other mods like PHP ?
Graham Dumpleton <[email protected]> Thu, 12 Nov 2009 07:24:22 +1100
| Newsgroups | gmane.comp.python.mod_python |
|---|---|
| Message-ID | <[email protected]> |
2009/11/12 Carlos Eduardo da Fonseca <[email protected]>: > 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