2009/1/9 Frédéric Sidler <[email protected]>:
> Graham,
>
> My main site is in Django, but I have two small applications that need PHP.
> Would you suggest to put them on a separate instance, use worker mode and
> disable keep alive (my static fiiles are served by Amazon CDN).

I would suggest first configuring mod_wsgi to create a daemon process
and delegate the Django application to run in that. This will allow
you to make use of multithreading in daemon process for request
handling, without having to change from prefork to worker MPM and
having to therefore create a separate server so can still run PHP.
See:

http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to