apt-get source libapache2-mod-php5
apt-get build-dep libapache2-mod-php5
cd php5-5.2.0/
sed -i 's/-with-gd=share,\/usr/-with-gd/' debian/rules
debian/rules binary
dpkg -i libapache2-mod-php5_5.2.0-7_amd64.deb
I don't know why there is an md5 mismatch. Do you have an internet connection so
you can fetch packages from the net instead of the DVD? If so, try commenting
out the CD sources in /etc/apt/sources.list, run apt-get update, and then try again.
> [...]
- Chris
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
I don't know why there is an md5 mismatch. Do you have an internet connection so
you can fetch packages from the net instead of the DVD? If so, try commenting
out the CD sources in /etc/apt/sources.list, run apt-get update, and then try again.
> [...]
- Chris
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.
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org