Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 16:44:43 +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:  <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com>
In-Reply-To: <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com>
References:  <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com>  <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)?




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

>
> On Wed, 17 Mar 2010 16:23:39 +0300, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3
> <antoniok.spb@gmail.com> wrote:
> > I have updated PHP from ports, now it is:
> >
> > # uname -a
> > FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar  5 01:37:03 MSK
> > 2010     root@host.net:/usr/obj/usr/src/sys/MYKERN  amd64
> >
> > $ php -v
> > PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07)
> > Copyright (c) 1997-2009 The PHP Group
> > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
> >
> <snip>
>
> This is a known issue. There's a PR for this filed under number 144403.
>
> A sort of workaround (which I find a bit nasty), is to start Apache like
> this:
>
> #env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
> restart
>
> Hope this helps!
>
> 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?3f1c29e71003170644l3102351fy31ab598702175642>