in reply to Re: Re: mod_perl and shared environments don't mix - do they?
in thread mod_perl and shared environments don't mix - do they?
I think you are misinformed about leaking memory. Most of the things people consider leaking memory under mod_perl are simply using memory as your program needs it to do more work. PHP will use memory too, if you load a big data structure from a file or database. Leaking requires you to code a circular structure or use a module with bad XS code. Running mod_perl by itself is quite stable.
PHP is not as fast as mod_perl. Numerous benchmarks have shown this, including the ones Yahoo did to decide on using PHP.
The subject of this thread was security, and why PHP is considered secure in a shared environment. The answers seem to be that it can be run as CGI (which of course is true of Perl as well) or that it can be run in a safe shared mode. The latter is an advantage over mod_perl for ISPs. At the moment, people looking for a cheap mod_perl ISP have to go for either a virtual server environment (where you get your own server with root access, but not a dedicated box) or SpeedyCGI.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: mod_perl and shared environments don't mix - do they?
by bean (Monk) on Aug 08, 2003 at 16:34 UTC | |
by perrin (Chancellor) on Aug 08, 2003 at 17:20 UTC | |
by bean (Monk) on Aug 10, 2003 at 18:55 UTC | |
by perrin (Chancellor) on Aug 11, 2003 at 03:08 UTC | |
by bean (Monk) on Aug 11, 2003 at 17:44 UTC | |
|