> nntp wrote:[color=blue][color=green]
> > I tried mod_perl. It is too troublesome. Many old scripts stopped[/color][/color]
running.[color=blue][color=green]
> > Even those running eat memory like crazy.[/color]
>
> Did you study this document about porting CGI scripts to mod_perl:
>
http://perl.apache.org/docs/1.0/guide/porting.html[/color]
That does not work. Even with PerlRun, there are huge memory leak.
[color=blue]
>[color=green]
> > I wonder why mod_php does not have the problems in mod_perl, such as[/color][/color]
memory[color=blue][color=green]
> > hog, varible initialization etc.[/color]
>
> The perceived difference may have something to do with the fact that
> while there are many old CGI scripts that were never designed with
> mod_perl in mind, PHP scripts that weren't designed with mod_php in mind
> are of rare occurrence.[/color]
PHP programmers don't need to worry about initializtion, and the PHP itself
will clear all memory after usage. I don't understand why mod_perl can not
do it. This really kills perl in majority. Anyone can write php, but only
few can write mod_perl.