You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ged Haywood <ge...@www2.jubileegroup.co.uk> on 2001/11/07 19:26:31 UTC

Re: How to update the httpd env for mod_perl

Hi there,

On Wed, 7 Nov 2001, SubbaReddy M wrote:

> I installed perl 5.6.1 and mod_perl and Apache-ASP-2.27 on my Linux box. (Redhat 6.2)

Did you compile your Apache and mod_perl?

> [root@qclinux /root]# perl -v

That's "perl -V" not "perl -v"  :)

> This is perl, v5.6.1 built for i686-linux
> 
> Copyright 1987-2001, Larry Wall
> .........

And you're supposed to send us the output...  :)

> [root@qclinux perl-5.6.1]# httpd 
> Syntax error on line 872 of /etc/httpd/conf/httpd.conf:
> Can't locate Apache/ASP.pm in @INC

Are you starting the right Apache?  If so it looks like you need to
rebuild so that mod_perl uses the right version of Perl.

> Red lines in httpd.conf

Please post in plain ASCII text.  I'm using a monochrome screen. :)

Please also read http://perl.apache.org/email-etiquette - you should
post only to the list, the other guys read this list anyway.

73,
Ged.