in reply to Re^4: PHP is better than perl and what can i do to run perl faster?
in thread PHP is better than perl and what can i do to run perl faster?

That's not the part of your httpd.conf I wanted to see. Please post the part where you tell it to use Apache::Registry. You can verify that your script is running under mod_perl and not CGI by printing out the value of the environment variable $ENV{'MOD_PERL'}.

The CGI modules is not very fast, and not necessary when using mod_perl.

Perl is not slower than PHP. Here is one benchmark: http://www.chamas.com/bench/ There was also a Yahoo benchmark which showed mod_perl outperforming PHP. The numbers are always pretty close though.

  • Comment on Re^5: PHP is better than perl and what can i do to run perl faster?

Replies are listed 'Best First'.
Re^6: PHP is better than perl and what can i do to run perl faster?
by eial (Initiate) on Jun 15, 2004 at 18:10 UTC
    OK, thank, well, i will check this and report what happend
    Thank again