From owner-freebsd-stable@FreeBSD.ORG Mon Apr 13 08:51:09 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF2FE1065679 for ; Mon, 13 Apr 2009 08:51:09 +0000 (UTC) (envelope-from xernet@hotmail.it) Received: from bay0-omc3-s36.bay0.hotmail.com (bay0-omc3-s36.bay0.hotmail.com [65.54.246.236]) by mx1.freebsd.org (Postfix) with ESMTP id 971098FC18 for ; Mon, 13 Apr 2009 08:51:09 +0000 (UTC) (envelope-from xernet@hotmail.it) Received: from BAY126-DS7 ([65.55.131.34]) by bay0-omc3-s36.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 13 Apr 2009 01:51:09 -0700 X-Originating-IP: [79.24.90.203] X-Originating-Email: [xernet@hotmail.it] Message-ID: From: "xer" To: "Raphael Becker" References: <20090409120815.A0FAB10658D2@hub.freebsd.org> <20090412160949.GD1948@ma.sigsys.de> In-Reply-To: <20090412160949.GD1948@ma.sigsys.de> Date: Mon, 13 Apr 2009 10:51:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8064.206 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206 X-OriginalArrivalTime: 13 Apr 2009 08:51:09.0281 (UTC) FILETIME=[FD5C1D10:01C9BC14] Cc: freebsd-stable@freebsd.org Subject: Re: apache 2.0.63 and php5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: xer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 08:51:10 -0000 Thank you a lot Raphael, you were right! The PATH enviroment are (poor) after a reboot and fixed after apachectl stop and start. How you suggest me to fix it? There is a better way before i will do something wrong? Thanx in advance -------------------------------------------------- From: "Raphael Becker" Sent: Sunday, April 12, 2009 6:09 PM Subject: Re: apache 2.0.63 and php5 When you use apachectl start apache inherits the environment of the user from apachectl, especially PATH. PATH is different for /root and boot. Create a simple php with "" in it and compare the Values for PATH a) after boot b) after restart by apachectl