Hello,
I think my problem is resolved
In the httpd.conf file, i put the following directives :
PassEnv PATH
PassEnv LD_LIBRARY_PATH
and the error has disappeared.
The mod_env module must be loaded in Apache for it works.
Thank you for your help.
Francois
BELLIARD Francois
Hello,
Thank you for your information. I have tried it outside Apache.
The script works well when it is run by itself and if the user nobody has a correct
LD_LIBRARY_PATH.
Apache is started by the root user with a correct LD_LIBRARY_PATH and then the child
processes are run as nobody as
On Wed, 17 Apr 2002, Morten Sickel wrote:
BELLIARD Francois wrote:
[Snip]
When a Perl Cgi script tries to load the Pg module (use Pg; in the
script),
there is the following error in the Apache Error Log :
[Snip]
I cannot find any 'Pg' module at CPAN, but if you are using the DBD-Pg,
From: Nigel J. Andrews [mailto:[EMAIL PROTECTED]]
Morten Sickel (I) wrote:
I cannot find any 'Pg' module at CPAN, but if you are using the DBD-Pg...
Or of course he could be using the Pg module :)
Oops, is there any? Sorry then, I searhed at cpan, withou finding any
modules named just
module/category current distrbution file
Pg pgsql_perl5-1.9.0tar.gz
-Original Message-
From: Morten Sickel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 5:50 AM
To: 'Nigel J. Andrews'; Pgsql-Admin (E-post)
Cc: 'BELLIARD Francois -
The web server is not chrooted and when Apache is started, the LD_LIBRARY_PATH
variable points to all the directories containing the libraries
"Nigel J. Andrews" wrote:
On Wed, 17 Apr 2002, Morten Sickel wrote:
> BELLIARD Francois wrote:
> [Snip]
> >When a Perl Cgi script tries to load the "Pg"