Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why don my perl scripts run?

Perl run scripts
0
Posted

Why don my perl scripts run?

0

It could be because Perl is not available. Check the error_log file. If /opt/hpws/apache/logs/error_log says “Apache.pm” failed to load then mod_perl has not loaded and all perl scripts will fail. This is usually due to perl binaries not being in the PATH or the PERL5LIB environment variable not being set to include following as a single line: /opt/hpws/apache/lib/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi:/opt/hpws/apache/lib/perl/lib SOLUTION: Verify that perl is installed in /opt/perl/bin and that /opt/perl/bin/perl and /opt/perl/lib/5.6.1 exist. Next specify where the mod_perl libraries are installed with the following command as a single line: export PERL5LIB=/opt/hpws/apache/lib/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi:/opt/hpws/apache/lib/perl/lib The PERL5LIB environment variable is preset by the shell running the Apache executable. If you experience problems, manually set this environment variable as shown above. To test whether you have the correct 5.6.1 on your

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123