[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php5 gd imagerotate() function




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: