You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brian Dimeler <br...@lserve.com> on 2006/01/18 19:29:04 UTC
[mp1] Apache::PerlRun errs on backtick operator
I'm moving my all of my PerlRun scripts to a new webserver, and have discovered that a few modules
which invoke system commands via the backtick `` operator are failing to compile when they reach
those commands. This doesn't happen when I run the scripts from the command line; only when run as
mod_perl scripts.
I've tried numerous commands with a test perl script and they all get the same error: "No such file
or directory." Thing is, these are simple commands, like `date`, `pwd` and `ls`, sans arguments, so
what on earth could that error mean?
Re: [mp1] Apache::PerlRun errs on backtick operator
Posted by Perrin Harkins <pe...@elem.com>.
On Wed, 2006-01-18 at 13:29 -0500, Brian Dimeler wrote:
> I've tried numerous commands with a test perl script and they all get the same error: "No such file
> or directory." Thing is, these are simple commands, like `date`, `pwd` and `ls`, sans arguments, so
> what on earth could that error mean?
Is that an error from the shell? If so, it probably means those
commands are not in the path of the user who the web server runs as.
- Perrin