From: Roderick A. A. <raa...@ti...> - 2001-07-12 17:09:19
|
On Thu, 12 Jul 2001, Jonas Smedegaard wrote: > On Thu, 12 Jul 2001, Wayne wrote: > > > Thanks for the input John. I download Apache 1.3.20 and after reading > > the INSTALL instruction I'm not sure whether I should install mod_perl > > first or if I can do it after installing Apache. You might look for the apache-heavy package - statically linked in mod_perl (and other modules if you want). There are RPMs (which is what I use) but I'm not sure about a tarball or other package managers. > Forget about mod_perl. For SQL-Ledger you need Apache and perl, not > apache+perl. > > mod_perl is for embedding perl commands in html - like server side > includes or php. SQL-Ledger is perl CGI-scripts, not embedded perl. Actually I think you're thinking of embperl. Mod_perl loads a perl interpreter into Apache. The main benefit being quicker startup of perl scripts. Instead of Apache making a system call to the script which starts perl which reads the rest of the script file to execute; mod_perl gets reads the script to execute (or it will already be there from a previous call). Things happen faster. For a lightly loaded server (hardware and software wise) it isn't really needed but on a system running multiple companies which may have multiple users connected at the same time the response times would be much better. I'm not sure if the SQL-Ledger code supports Apache::DBI but it is my understanding that this in conjunction with mod_perl will make a significant response time difference. The short of it is mod_perl isn't needed for light/normal usage. Rod -- Remove the word 'try' from your vocabulary ... Don't try. Do it or don't do it ... Steers try! Don Aslett |