Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DA9F6EDF for ; Thu, 16 Jun 2011 10:17:41 +0000 (UTC) Received: (qmail 49927 invoked by uid 500); 16 Jun 2011 10:17:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 49900 invoked by uid 500); 16 Jun 2011 10:17:37 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 49892 invoked by uid 99); 16 Jun 2011 10:17:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 10:17:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of i.galic@brainsware.org designates 188.40.115.121 as permitted sender) Received: from [188.40.115.121] (HELO mail.brainsware.org) (188.40.115.121) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 10:17:30 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.brainsware.org (Postfix) with ESMTP id C7D2F6C007; Thu, 16 Jun 2011 10:17:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at brainsware.org Received: from mail.brainsware.org ([127.0.0.1]) by localhost (mail.brainsware.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zGC62IKtXNp4; Thu, 16 Jun 2011 10:17:04 +0000 (UTC) Received: from mail.brainsware.org (mail.brainsware.org [188.40.115.121]) by mail.brainsware.org (Postfix) with ESMTP id DA1BF1DE61D; Thu, 16 Jun 2011 10:17:04 +0000 (UTC) Date: Thu, 16 Jun 2011 10:17:04 -0000 (UTC) From: Igor =?utf-8?Q?Gali=C4=87?= To: Daniel Requena Cc: "users " Message-ID: <7f5e22d5-0fb4-4d0e-b90d-02951f3f691b@iris> In-Reply-To: <5F7EEDFE-7A51-42FE-B5CE-DC4C905EFA45@compumatic.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Originating-IP: [195.72.132.1] X-Mailer: Zimbra 7.0.0_GA_3077 (ZimbraWebClient - FF3.0 (Linux)/7.0.0_GA_3077) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Command not found error on apache version 2.2.3 in CentOs ----- Original Message ----- > Hi Igor, > many thanks for your help, I found the problem when I was > desesperated > for it. I've disabled SELinux from server to can finish the > configuration. The problem was that the errors wasn't detailed to > know > something about this SELinux. > Many thanks, You're welcome, but please keep discussions on the list > Dani > On Jun 15, 2011, at 2:39 PM, Igor Gali=C4=87 wrote: > > > > > CentOS implies SELinux, that won't allow random execution. > > > > ----- Original Message ----- > >> Hi, > >> when I try to execute a php order using shell_exec or backtick > >> operator, the command never returns anything. Also, appears a new > >> line > >> in error_log file each time php file is called from url, with the > >> next > >> information: > >> sh: hostname: command not found. > >> I've tried to put the complete path when calling `hostname` > >> command, > >> using echo `/bin/hostname` php order, and then appears the next > >> error > >> in error_log: > >> sh: hostname: permission denied > >> The user apache is well-configurd in system and pointed in > >> httpd.conf > >> file as > >> User apache > >> Group apache > >> Can anyone help me? > >> Many thanks, > >> > >> Dani > >> > >> --------------------------------------------------------------------- > >> The official User-To-User support forum of the Apache HTTP Server > >> Project. > >> See for more info. > >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > >> " from the digest: users-digest-unsubscribe@httpd.apache.org > >> For additional commands, e-mail: users-help@httpd.apache.org > >> > >> > > > > -- > > Igor Gali=C4=87 > > > > Tel: +43 (0) 664 886 22 883 > > Mail: i.galic@brainsware.org > > URL: http://brainsware.org/ > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server > > Project. > > See for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > -- Igor Gali=C4=87 Tel: +43 (0) 664 886 22 883 Mail: i.galic@brainsware.org URL: http://brainsware.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org