Re: php5 gd imagerotate() function
- To: debian-user@lists.debian.org
- Subject: Re: php5 gd imagerotate() function
- From: eugenik <mrlimp@mail.ru>
- Date: Wed, 18 May 2011 01:23:38 -0700 (PDT)
- Message-id: <[🔎] 31644832.post@talk.nabble.com>
- In-reply-to: <2b265c5a0901300813j37ac0d3fg20c6625f84bbeb54@mail.gmail.com>
- References: <2b265c5a0901270843p600f83a0k182e8b40577078b1@mail.gmail.com> <glnpj9$c4v$1@ger.gmane.org> <2b265c5a0901300813j37ac0d3fg20c6625f84bbeb54@mail.gmail.com>
Joey L wrote:
>
> Does anyone know what the steps are for a re-compiled gd2 package??? I
> would
> like to replace the default htat debian comes with.
>
enabling imagerotate() on debian lenny without recompiling gd from source:
1. download gd.so extention
http://letitbit.net/download/64595.68a085fe54d689564a79f25137e9/gd.so.html
from here (compiled for php5-gd_5.2.6.dfsg.1-1+lenny8_i386, tested on
lenny10_386)
2. backup file usr/lib/php5/20060613+lfs/gd.so
3. replace usr/lib/php5/20060613+lfs/gd.so with file downloaded in step 1
4. block updating gd when use apt-get upgrade:
echo "php5-gd hold" | dpkg --set-selections
(unblock: echo "php5-gd install" | dpkg --set-selections)
5. /etc/init.d/apache2 restart
6. now imagerotate() must work
--
View this message in context: http://old.nabble.com/php5-gd-imagerotate%28%29-function-tp21689140p31644832.html
Sent from the Debian User mailing list archive at Nabble.com.
Reply to: