in reply to Re^3: apache 2.4 mod_perl permission denied on standard modules
in thread apache 2.4 mod_perl permission denied on standard modules
Nope, no copies of Digest/SHA.pm anywhere else
If I manually add
require "/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/Digest/SHA.pm +";
in a BEGIN block, the error in the apache log changes to:
Can't locate Fcntl.pm: Permission denied at /usr/lib/perl5/5.18.2/x +86_64-linux-thread-multi/Digest/SHA.pm line 7.
If I also add an explicit
use lib '/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/'
It ends up with:
Can't locate integer.pm: Permission denied at /usr/lib/perl5/5.18.2/ +x86_64-linux-thread-multi/Digest/SHA.pm line 8
With this BEGIN block:
BEGIN { foreach (@INC) { use lib $_; } }
which I think should be pretty much a noop (I also tried with reverse @inc, same result) I end up with:
Can't locate Carp.pm: Permission denied at /usr/lib/perl5/5.18.2/x86 +_64-linux-thread-multi/lib.pm line 25
And of course Carp.pm is there
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: apache 2.4 mod_perl permission denied on standard modules
by Corion (Patriarch) on Aug 28, 2015 at 20:49 UTC | |
by Crackers2 (Parson) on Aug 28, 2015 at 21:23 UTC | |
by sundialsvc4 (Abbot) on Aug 31, 2015 at 01:37 UTC | |
by Crackers2 (Parson) on Sep 02, 2015 at 20:22 UTC |
In Section
Seekers of Perl Wisdom