Re: Django along with PHP - avoiding Apache crashes

2008-10-30 Thread DULMANDAKH Sukhbaatar
I use apache2's mpm-worker which is threaded and means very fast, requires less resource. And use PHP5 as a fastcgi, django (through python) also as fastcgi. This setup maybe difficult compared to apache modules based setup. but proven to be very fast, and no side effects. -- Regards

Re: Django along with PHP - avoiding Apache crashes

2008-10-29 Thread Giles Thomas
Graham, Thanks once again. > There is still the risk of conflicts as Python module is using a > reentrant version of library and PHP isn't. > OK, that makes sense. I guess we need to recompile PHP5, then. Regards, Giles -- Giles Thomas MD & CTO, Resolver Systems Ltd. [EMAIL PROTECTED]

Re: Django along with PHP - avoiding Apache crashes

2008-10-28 Thread Graham Dumpleton
On Oct 28, 11:58 pm, Giles Thomas <[EMAIL PROTECTED]> wrote: > Graham, > > Thank you again for the help - as you might have guessed, my separate > question that you answered on themod_wsgilist was because I'd decided > to try out the WSGI solution to the problem first. > > What's very strange

Re: Django along with PHP - avoiding Apache crashes

2008-10-28 Thread Wes Winham
I'm currently in production with Apache2, mod_php, mod_python, Django 1.0, MySQL 5.x, and PHP5 using everything (except django) out of the Ubuntu 8.04 repository with no troubles, if that helps at all. On Oct 28, 8:58 am, Giles Thomas <[EMAIL PROTECTED]> wrote: > Graham, > > Thank you again for

Re: Django along with PHP - avoiding Apache crashes

2008-10-28 Thread Giles Thomas
Graham, Thank you again for the help - as you might have guessed, my separate question that you answered on the mod_wsgi list was because I'd decided to try out the WSGI solution to the problem first. What's very strange is that although I did get the same crash when I first tried running up

Re: Django along with PHP - avoiding Apache crashes

2008-10-27 Thread Graham Dumpleton
On Oct 28, 4:01 am, Giles Thomas <[EMAIL PROTECTED]> wrote: > Hi all, > > We're implementing some new stuff for our website in Django; > unfortunately our site currently uses PHP quite heavily (for MediaWiki, > Wordpress, phpBB and the like), and when we tried deploying the first > cut of the

Re: Django along with PHP - avoiding Apache crashes

2008-10-27 Thread Giles Thomas
vivek, Thanks for the reply. You're right - having spent a bit of time looking at it, I've come to realise that I was wrong in thinking mod_wsgi was inelegant. I'll give it a go. Regards, Giles vivek wrote: > I think mod_wsgi should not be considered "bit ugly", it is quite >

Re: Django along with PHP - avoiding Apache crashes

2008-10-27 Thread Giles Thomas
Heh - looks like I spoke too soon. When I try to get mod_wsgi running with my PHP-infested Apache instance, it crashes anyway. Looks like the same problem as with mod_python/Django. If anyone else has got this running, I'd love to hear from you... In the meantime, I'll keep plugging at it

Re: Django along with PHP - avoiding Apache crashes

2008-10-27 Thread vivek
I think mod_wsgi should not be considered "bit ugly", it is quite elegant option. In daemon mode, it will probably provide a better memory utilization as compared to mod_php + mod_python apache processes. I have not faced such problem so cant give an exact solution but you should definitely try

Django along with PHP - avoiding Apache crashes

2008-10-27 Thread Giles Thomas
Hi all, We're implementing some new stuff for our website in Django; unfortunately our site currently uses PHP quite heavily (for MediaWiki, Wordpress, phpBB and the like), and when we tried deploying the first cut of the solution, Apache segfaulted - best guess is that this is a result of