From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 13:50:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74917106567F for ; Wed, 17 Mar 2010 13:50:48 +0000 (UTC) (envelope-from bas@kompasmedia.nl) Received: from asterix.area536.com (static.17.18.47.78.clients.your-server.de [78.47.18.17]) by mx1.freebsd.org (Postfix) with ESMTP id 308CD8FC48 for ; Wed, 17 Mar 2010 13:50:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by asterix.area536.com (Postfix) with ESMTP id 5727827BCB; Wed, 17 Mar 2010 14:50:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at asterix.area536.com Received: from asterix.area536.com ([127.0.0.1]) by localhost (asterix.area536.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KydeLFpNuXHM; Wed, 17 Mar 2010 14:50:46 +0100 (CET) Received: by asterix.area536.com (Postfix, from userid 33) id 1DDBA27BC9; Wed, 17 Mar 2010 14:50:45 +0100 (CET) To: =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD_=D0=9A=D0=BB=D0=B5=D1=81=D1=81?= MIME-Version: 1.0 Date: Wed, 17 Mar 2010 14:50:45 +0100 From: "Bas v.d. Wiel" In-Reply-To: <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com> References: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com> Message-ID: <582dc8b5596996422cbd9c4318c3e26d@asterix.area536.com> X-Sender: bas@kompasmedia.nl User-Agent: RoundCube Webmail/0.2.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Cc: freebsd-questions@freebsd.org Subject: Re: gd errors after rebuilding PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 13:50:48 -0000 On Wed, 17 Mar 2010 16:44:43 +0300, Антон Клесс wrote: > It doesn't helps me. > > Then I try this: > > # env LD_PRELOAD=/usr/local/lib/libpng.so.5 |grep png > LD_PRELOAD=/usr/local/lib/libpng.so.5 > # env |grep png > # > > Is it OK that env doesn't save its status (LD_PRELOAD)? > You should put the whole command on a single line (e-mail cuts off the lines here): #env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 restart In essence you're just restarting Apache in the usual BSD way, but with an ad-hoc added environment variable. The env command doesn't save its changes, but that is correct behaviour. I haven't tested this with a 'real' environment variable yet because I decided to roll back the upgrade to wait for the issue to be solved. Bas