I run Apache2 server on Debian, user is set www-data
and also group is www-data
. When I run Perl CGI-scripts I noticed that their @INC
differs from scripts I run from command line as same www-data
-user.
I tried to set PERL5LIB
environment variable in my site conf, but it did not chage effective @INC
for Apache:
SetEnv PERL5LIB "/home/www/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int"
From where does get Apache it's @INC
value?
How could I modify it for my needs?