You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Scott Scecina <sc...@inmind.com> on 2002/11/14 17:29:19 UTC
mod_perl doesn't know where perl's installed
Hi!
I'm running into the:
> Syntax error on line 1022 of c:/program files/apache/conf/httpd.conf:
> Cannot load c:/program files/apache/modules/mod_perl.so into server: (126)
The specified module could not be found:
problem on NT 4 when trying to run Apache/mod_perl as a service.
(see: http://www.geocrawler.com/archives/3/182/2001/8/50/6508119/)
I have verified that my Apache/modperl/perl versions match, and that I have
"c:\perl\bin" in the System PATH, however, I suspect that NT doesn't setup
those variables for services? I don't have this problem on Win2k.
Has anyone solved this problem? Is there anyway to tell mod_perl where perl
is without using the PATH variable?
Any help is GREATLY appreciated!
Thanks!
- Scott
Scott Scecina
In Mind, Inc.
Re: mod_perl doesn't know where perl's installed
Posted by Juergen Heckel <JH...@t-online.de>.
Randy Kobes wrote:
>>
>> The specified module could not be found:
>>
>> problem on NT 4 when trying to run Apache/mod_perl as a service.
>>
>
> Does it help if you add, in httpd.conf, the directive
> LoadFile "C:/Path/to/Perl/bin/perl56.dll"
> before loading mod_perl.so?
>
Hi Randy,
I had the same problem with XP: starting Apache 2.0.4x as service fails
with the same error.
But your tip helped me:-)
Thank you again for your good tips.
Juergen
RE: mod_perl doesn't know where perl's installed
Posted by Scott Scecina <sc...@inmind.com>.
> > Has anyone solved this problem? Is there anyway to tell
> mod_perl where perl
> > is without using the PATH variable?
>
> Is it a problem just as a service, or does the same thing
> occur running Apache from the console?
>
> Does it help if you add, in httpd.conf, the directive
> LoadFile "C:/Path/to/Perl/bin/perl56.dll"
> before loading mod_perl.so?
>
> --
> best regards,
> randy kobes
>
>
The problem occurs only when run as a service. And, yes, the LoadFile
directive seems to have solved it. I would have *never* come up with that.
Many Thanks!
- Scott
Scott Scecina
In Mind, Inc.
Re: mod_perl doesn't know where perl's installed
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Thu, 14 Nov 2002, Scott Scecina wrote:
> Hi!
>
> I'm running into the:
>
> > Syntax error on line 1022 of c:/program files/apache/conf/httpd.conf:
> > Cannot load c:/program files/apache/modules/mod_perl.so into server: (126)
> The specified module could not be found:
>
> problem on NT 4 when trying to run Apache/mod_perl as a service.
>
> (see: http://www.geocrawler.com/archives/3/182/2001/8/50/6508119/)
>
> I have verified that my Apache/modperl/perl versions match, and that I have
> "c:\perl\bin" in the System PATH, however, I suspect that NT doesn't setup
> those variables for services? I don't have this problem on Win2k.
>
> Has anyone solved this problem? Is there anyway to tell mod_perl where perl
> is without using the PATH variable?
Is it a problem just as a service, or does the same thing
occur running Apache from the console?
Does it help if you add, in httpd.conf, the directive
LoadFile "C:/Path/to/Perl/bin/perl56.dll"
before loading mod_perl.so?
--
best regards,
randy kobes