Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 17:00:31 +0300
From:      =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= <antoniok.spb@gmail.com>
To:        "Bas v.d. Wiel" <bas@kompasmedia.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gd errors after rebuilding PHP
Message-ID:  <3f1c29e71003170700u2c2aaab9ve34bca18567135d1@mail.gmail.com>
In-Reply-To: <582dc8b5596996422cbd9c4318c3e26d@asterix.area536.com>
References:  <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com>  <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com>  <582dc8b5596996422cbd9c4318c3e26d@asterix.area536.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# ls /usr/local/lib/libpng.so.5
/usr/local/lib/libpng.so.5
# ls /usr/local/etc/rc.d/apache22
/usr/local/etc/rc.d/apache22
# env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
status
apache22 is running as pid 21297.
# env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
stop
Stopping apache22.
Waiting for PIDS: 21297.
# env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
start
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
#


But PHP errors are still the same.
Should I report this into PR?



2010/3/17 Bas v.d. Wiel <bas@kompasmedia.nl>

>
> On Wed, 17 Mar 2010 16:44:43 +0300, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3
> <antoniok.spb@gmail.com> wrote:
> > It doesn't helps me.
> >
> > Then I try this:
> >
> > # env LD_PRELOAD=3D/usr/local/lib/libpng.so.5  |grep png
> > LD_PRELOAD=3D/usr/local/lib/libpng.so.5
> > # env |grep png
> > #
> >
> > Is it OK that env doesn't save its status (LD_PRELOAD)?
> >
> <snip>
>
> You should put the whole command on a single line (e-mail cuts off the
> lines here):
>
> #env LD_PRELOAD=3D/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 a=
n
> 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 'rea=
l'
> environment variable yet because I decided to roll back the upgrade to wa=
it
> for the issue to be solved.
>
> Bas
>
>


--=20
=F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD,
=E1=CE=D4=CF=CE =EB=CC=C5=D3=D3,
http://kless.spb.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3f1c29e71003170700u2c2aaab9ve34bca18567135d1>