Best Practices for mod_perl, mod_python, and mod_php

Hello -

I've inherited a system from our development group, and I've been
attempting to find information on recommended best practices for
running mixed mod_perl, mod_python and mod_php simultaneously on
Apache HTTPd using mod_prefork. Unfortunately, my Google-fu hasn't
produced much in the way of useful information, and I didn't find
anything specific to this on the Apache.org site.

My gut instinct is to break the installation into multiple instances,
each one servicing one of the mod_* services, but I'm hoping to
find hard information on whether or not this is correct.

Many thanks for your time,

R.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
The Gaijin [ Fr, 02 April 2010 23:29 ] [ ID #2037555 ]

Re: Best Practices for mod_perl, mod_python, and mod_php

On 04/03/10 02:59, The Gaijin wrote:
>
> Hello -
>
> I've inherited a system from our development group, and I've been
> attempting to find information on recommended best practices for
> running mixed mod_perl, mod_python and mod_php simultaneously on
> Apache HTTPd using mod_prefork. Unfortunately, my Google-fu hasn't
> produced much in the way of useful information, and I didn't find
> anything specific to this on the Apache.org site.
>
> My gut instinct is to break the installation into multiple instances,
> each one servicing one of the mod_* services, but I'm hoping to
> find hard information on whether or not this is correct.
>
> Many thanks for your time,
>
> R.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>

I refrain from using any embedded interpreters. It doesn't give optimum
performance. Use mod_fcgid which will give you performance as well as
security since it possible to use suExec with mod_fcgid.

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nilesh Govindrajan [ Sa, 03 April 2010 04:06 ] [ ID #2037601 ]

Re: Best Practices for mod_perl, mod_python, and mod_php

On 2 Apr 2010, at 22:29, The Gaijin wrote:

> I've inherited a system from our development group, and I've been
> attempting to find information on recommended best practices for
> running mixed mod_perl, mod_python and mod_php simultaneously on
> Apache HTTPd using mod_prefork. Unfortunately, my Google-fu hasn't
> produced much in the way of useful information, and I didn't find
> anything specific to this on the Apache.org site.

Why would you expect to find anything specific? There's no
recommended 'best practice' for using multiple scripting
languages and environments: you could use the modules,
or CGI/fastcgi, or proxy a backend. The only issue that arises
from using more than one together is the risk of being bitten
by some bug, but you won't know until you try.

One thing I would suggest: either compile everything yourself
or install everything from distro packages, don't mix-and-match.
The latter might put you at higher risk of linking multiple
versions of the same library.

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nick Kew [ Sa, 03 April 2010 10:59 ] [ ID #2037611 ]
Webserver » gmane.comp.apache.user » Best Practices for mod_perl, mod_python, and mod_php

Vorheriges Thema: proxy restrictions/security config ?
Nächstes Thema: how to enable mod_dav_svn support in httpd