Richard Clarke wrote:
PerlModule Apache::DBI;-- trouble line
This line belongs in your httpd.conf file.
PerlModule is an apache configuration directive, not a perl 'command'.
http://perl.apache.org/docs/1.0/guide/config.html#PerlModule_and_PerlRequire
_Directives
Ric.
Feite Brekeveld wrote:
Richard Clarke wrote:
PerlModule Apache::DBI;-- trouble line
This line belongs in your httpd.conf file.
PerlModule is an apache configuration directive, not a perl 'command'.
As soon as I activate the line identified as 'trouble line', my apache
server dies.
Can you elaborate on this.. how does it die?, what is the error msg? etc..
(That is assuming it's still a problem after upgrading to latest
DBI/Apache::DBI as Stas suggested).
Ric.
Richard Clarke wrote:
As soon as I activate the line identified as 'trouble line', my apache
server dies.
Can you elaborate on this.. how does it die?, what is the error msg? etc..
(That is assuming it's still a problem after upgrading to latest
DBI/Apache::DBI as Stas suggested).
Ric.
This is the only error line that appears in the error_log.
[Sun Mar 2 20:10:19 2003] [notice] caught SIGTERM, shutting down
Perhaps it's me, but could you please create a copy-n-paste mail
with the (correct) relevant code snippets (httpd.conf, startup.pl,
etc.). This might help.
Best
Hi,
I'm trying to configure mod_perl for use with persistent database
connections with Apache::DBI
RedHat 7.3
Apache 1.3.23
mod_perl 1.26
I've configured the following 'startup.pl' file:
-
#!/usr/bin/perl
BEGIN {
use Apache ();
use lib
PerlModule Apache::DBI;-- trouble line
This line belongs in your httpd.conf file.
PerlModule is an apache configuration directive, not a perl 'command'.
http://perl.apache.org/docs/1.0/guide/config.html#PerlModule_and_PerlRequire
_Directives
Ric.
Your attention please:
[***]
[*** ***]
[*** please send the followups back to the list! ***]
[*** ***]
[***]
Hi
I am new to linux and mod_perl. Weare
runningperl 5.8.0 and apache 2.0.43 on linux.First time we are
tryingtoinstall mod_perl2.But the "make test"failed
completed. Here is the error_log reads:
END in modperl_extra.pl, pid=19385[Thu Nov 21
11:24:45 2002] [notice] Apache/2.0.43 (Unix)
please remember to properly report problems, as explained at:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
(hint: the shortcuts menu on the left side of any page of perl.apache.org)
if you don't provide all the required details it makes it hard to guess
what
Hi there,
On Thu, 19 Sep 2002, Christophe Mailhe wrote:
[snip]
* WARNING *
mod_perl is unlikely to link with your libperl, suggestions:
*) Rebuild Perl with Configure -Accflags=+Z ...
[snip]
Are you sure you're trying to link to the Perl that you just built?
PROTECTED]'
Subject: Re: Error when making mod_perl
Hi there,
On Thu, 19 Sep 2002, Christophe Mailhe wrote:
[snip]
* WARNING *
mod_perl is unlikely to link with your libperl, suggestions:
*) Rebuild Perl with Configure -Accflags=+Z ...
[snip]
Are you sure
Hello again,
On Fri, 20 Sep 2002, Christophe Mailhe wrote:
Hi there,
Sorry I didn't give all the information.
I think I have achieved to compile perl 5.8.0 and now mod_perl-1.99_05 using
the following commands :
For Perl 5.8.0:
Is this 5.8.0-RC2 (See mod_perl-1.99_05/README)? I
when I make mod_perl :
/usr/bin/ld -b -L/usr/local/lib \
\
mod_perl.lo modperl_interp.lo modperl_tipool.lo
modperl_log.lo
modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_ca
llback.lo modperl_handler.lo
Hi,
I am running Solaris 8 and have installed Apache 2:
bash-2.03# /usr/apache/bin/httpd -v
Server version: Apache/2.0.39
Server built: Aug 20 2002 11:26:54
I also have installed perl 5.8.0:
bash-2.03# perl -v
This is perl, v5.8.0 built for sun4-solaris
I am trying to install mod_perl 2
Tom Hibbert wrote:
Hi,
I am running Solaris 8 and have installed Apache 2:
bash-2.03# /usr/apache/bin/httpd -v
Server version: Apache/2.0.39
Server built: Aug 20 2002 11:26:54
I also have installed perl 5.8.0:
bash-2.03# perl -v
This is perl, v5.8.0 built for sun4-solaris
I
Hi,
I downloaded the mod-perl 2.0 tarball today from:
http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
When I untar'd it:
bash-2.03$ tar xf mod_perl-2.0-current.tar
It extracted to the following directory:
drwxr-x--- 13 software software 512 Jun 21 23:40 mod_perl-1.99_04
I
Tom Hibbert wrote:
Hi,
I downloaded the mod-perl 2.0 tarball today from:
http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
When I untar'd it:
bash-2.03$ tar xf mod_perl-2.0-current.tar
It extracted to the following directory:
drwxr-x--- 13 software software 512 Jun
At 9:52 Uhr +0200 25.06.2002, Alessandro Forghieri wrote:
FastCGI has slightly better speed, but I have seen it hanging (and it does
not look like support for FastCGI is going to be huge in the futuer),
It took mod_perl ages (i.e. until mod_accel has come up) to get an as
decent proxying setup
md wrote:
I was just a bit worried about the amount of static
content. In the past I've had a lot more hardware to
work with and I never had to worry about it much.
Static content is easy; just don't serve it from mod_perl. The proxy
approach is good, and so is a separate image server
Perrin == Perrin Harkins [EMAIL PROTECTED] writes:
Perrin Static content is easy; just don't serve it from mod_perl. The proxy
Perrin approach is good, and so is a separate image server (which you can
Perrin host on the same machine). I've found thttpd to be an amazingly
Perrin efficient
Bekman [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 8:38 AM
Subject: Re: when to mod_perl?
Perrin == Perrin Harkins [EMAIL PROTECTED] writes:
Perrin Static content is easy; just don't serve it from mod_perl. The
proxy
Perrin approach is good, and so is a separate image
Peter == Peter Bi [EMAIL PROTECTED] writes:
Peter I have a question regarding to the cached files. Although the
Peter maximal period is set to be 24 hours in httpd.conf's proxy
Peter settings, many of the files, which were cached from the backend
Peter mod_perl dynamical program, are strangely
- Original Message -
From: Randal L. Schwartz [EMAIL PROTECTED]
To: Peter Bi [EMAIL PROTECTED]
Cc: Perrin Harkins [EMAIL PROTECTED]; md [EMAIL PROTECTED];
Stas Bekman [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 10:18 AM
Subject: Re: when to mod_perl?
Peter
of
course ;)
David LeBlanc
Seattle, WA USA
-Original Message-
From: md [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 19:22
To: [EMAIL PROTECTED]
Subject: when to mod_perl?
Hello,
I'm working on a dynamic site that I originally
thought I would do with mod_perl. Now after
Quoting md [EMAIL PROTECTED]:
Hello,
I'm working on a dynamic site that I originally
thought I would do with mod_perl. Now after reviewing
the requirements and available hardware, I wonder if
mod_perl will be my best solution.
The machine will not be a huge box (though I wasn't
--- Cees Hek [EMAIL PROTECTED] wrote:
I would build your application using plain old CGI,
following the guidlines that
mod_perl provides for running CGI applications under
the Apache::Registry
module. If you properly analyse your application,
and build small tight CGI
scripts, then
set. It includes
some numbers, showing how much memory you really need if you follow the
guidelines.
The only situation when mod_cgi could be a win over mod_perl is when you
have almost zero code loaded and most of your operations are CPU or
IO/bound, so mod_perl's precompilation/caching won't
--- Stas Bekman [EMAIL PROTECTED] wrote:
In any case we are talking about registry scripts,
aren't we? In that
case it takes very little time to turn it on and off
and test what is
better. Unless you are talking about writing full
fledged mod_perl API
handlers, which is only when your
: when to mod_perl?
--- Stas Bekman [EMAIL PROTECTED] wrote:
In any case we are talking about registry scripts,
aren't we? In that
case it takes very little time to turn it on and off
and test what is
better. Unless you are talking about writing full
fledged mod_perl API
handlers
Peter Bi wrote:
wait a second ...
don't forget using proxy: it saves you a lot of dynamical calls, especially
if you have also a database.
good point, Peter. And there are many others. It's the best if you can
take some time and read the guide before you start coding. It includes a
big
31 matches
Mail list logo