Re: Re: php + lynx + grep

From: Date: Thu, 08 Apr 2004 07:30:37 +0000
Subject: Re: Re: php + lynx + grep
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-182794@lists.php.net to get a copy of this message
[ snippity snip snip ]
Have you verified that lynx, grep, and head are in PHP's path? Check the output of which lynx or phpinfo() to figure out what your path is, and whether it includes lynx. Alternatively, use a full path to lynx to avoid confusion.
Could be that the apache process has no rights to run these commands. Try su as apache and see if you can run it. When you run php from the command line, it runs as the active user.

« previous php.general (#182794) next »