Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: LDAP Search Script runs slow

by mandog (Curate)
on Dec 06, 2003 at 06:04 UTC ( [id://312734] : note . print w/replies, xml ) Need Help??

in reply to LDAP Search Script runs slow

One potential trouble is that your perl script is a CGI script. Everytime somebody uses your script, the file is opened, perl is launched, your script is compiled and then run.

The chances are good that the php version is running through mod_php. Php is is always running and does not deal with the overhead of startup every time the Php script is run.

You can do as well or better with mod_perl

Replies are listed 'Best First'.
Re: Re: LDAP Search Script runs slow
by bionicle32 (Novice) on Dec 07, 2003 at 00:20 UTC
    Mandog, I am not to familiar with mod_perl, but have heard of it. Are you very familiar? If so could you give me a few examples of what you are talking about? Thanks, Bionicle32