gd errors after rebuilding PHP

2010-03-17 Thread Антон Клесс
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 r...@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

Re: gd errors after rebuilding PHP

2010-03-17 Thread Антон Клесс
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)? 2010/3/17 Bas v.d. Wiel b...@kompasmedia.nl On Wed, 17 Mar 2010 16:23:39 +0300,

Re: gd errors after rebuilding PHP

2010-03-17 Thread Bas v.d. Wiel
On Wed, 17 Mar 2010 16:23:39 +0300, Антон Клесс antoniok@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 r...@host.net:/usr/obj/usr/src/sys/MYKERN amd64 $ php -v PHP 5.2.12 with

Re: gd errors after rebuilding PHP

2010-03-17 Thread Bas v.d. Wiel
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)?

Re: gd errors after rebuilding PHP

2010-03-17 Thread Антон Клесс
# 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