[Catalyst] Configuring Apache for mod_perl Catalyst and php via mod_proxy

matthew couchman (JIC) matthew.couchman at jic.ac.uk
Fri Jul 29 17:03:30 GMT 2011


Thanks for all the replies, much appreciated.

From: Andrew Rodland [mailto:andrew at cleverdomain.org]
Sent: 29 July 2011 15:25
To: The elegant MVC web framework
Subject: Re: [Catalyst] Configuring Apache for mod_perl Catalyst and php via mod_proxy

Another solution, less ugly (IMO) than mod_proxy, is removing mod_php by setting up PHP behind mod_fastcgi. In fact, if you remove mod_perl as well by putting your Catalyst apps behind mod_fastcgi, you can have all the threading you desire.
On Fri, Jul 29, 2011 at 8:15 AM, Tomas Doran <bobtfish at bobtfish.net<mailto:bobtfish at bobtfish.net>> wrote:

On 29 Jul 2011, at 12:25, matthew couchman (JIC) wrote:
Thanks for your reply. Perhaps it was too sweeping a statement but I can only say that for my setup mod_perl works fine through Apache alone as does php but when I combine them it crashes with memory corruption errors.

(At a guess), don't use the threaded MPM.

Use prefork and everything will be fine.


Cheers
t0m


_______________________________________________
List: Catalyst at lists.scsys.co.uk<mailto:Catalyst at lists.scsys.co.uk>
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

-----------------------------------------------------------------------------------------------------
Please note, that my email address is no longer givenname.surname at bbsrc.ac.uk.  Please update your records to reflect my new email address of givenname.surname at jic.ac.uk as shown on this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110729/2926356c/attachment.htm


More information about the Catalyst mailing list