# 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=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
status
apache22 is running as pid 21297.
# env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
stop
Stopping apache22.
Waiting for PIDS: 21297.
# env LD_PRELOAD=/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 <b...@kompasmedia.nl>

>
> On Wed, 17 Mar 2010 16:44:43 +0300, Антон Клесс
> <antoniok....@gmail.com> 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)?
> >
> <snip>
>
> 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
>
>


-- 
С уважением,
Антон Клесс,
http://kless.spb.ru/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to