RE: [PHP] I can't execute pf commands

From: Date: Thu, 28 Jul 2011 18:20:20 +0000
Subject: RE: [PHP] I can't execute pf commands
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-314241@lists.php.net to get a copy of this message
Bulent Malik <bmalik@ihlas.net.tr> wrote: > > > > > >> did you try it in shell? or just You tried it in PHP? > >Yeah, I tried it on shell and it works on it. Also if I execute it as >command line, it works ; > >php test.php > >But when I try it on www ( internet explorer, firefox, chrome ...) it >doesn't work. > > Sounds like it might need you to specify the full paths to the commands/apps you're using in the shell call. Your user might have the right path environment variable specified, but its unlikely the Apache user will have. This user is usually called something like apache or www2. Thanks, Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.

« previous php.general (#314241) next »