Perl: the Markov chain saw | |
PerlMonks |
Apache/CGI fcould not use Spreadsheet::ParseExcelby PhillipHuang (Beadle) |
on May 08, 2019 at 16:09 UTC ( [id://1233461]=perlquestion: print w/replies, xml ) | Need Help?? |
PhillipHuang has asked for the wisdom of the Perl Monks concerning the following question: I have already installed Spreadsheet::ParseExcel and Spreadsheet::WriterExcel by CPAN. When I run the perl script in command line, it runs well and return as expected. However, As run as CGI script(result.pl) by Web browser, the error messages shows
I am sure the Spread modules are installed, and find them as the below directory:
As googled items, I try to add the path to @INC by the http error_log still shows
Why run well in command line by root, and why failed by web browser? I guess perhaps it is caused by privileges, apache user can not invisit the part which owner is root. Would you please give any hint? How to resolve this? Thanks in advanced, PH2019-05-09 Athanasius fixed code tags
Back to
Seekers of Perl Wisdom
|
|