Not sure it will work, but you can give it a try :
- Download the gd tarball : wget http://www.boutell.com/gd/
- Extract it : tar zxvf gd-2.0.33.tar.gz
- Change dir : cd gd-2.0.33
- Run the configure script : ./configure
- Compile the sources : make
- [Note: don't run make install here]
- Go to .libs dir : cd .libs
- Copy the libgd.so library to your php extensions dir, say /usr/lib/php4 : cp libgd.so /usr/lib/php4/
- Add this line to your php.ini : extension=libgd.so
- [Note: you can also create a file with this single line in your /etc/php.d dir, if exists.]
- Restart apache, if you're using php as a module.
- And let me know if it worked ;)
Ben
Main Topics
Browse All Topics





by: idmiskPosted on 2005-05-26 at 16:11:40ID: 14090850
are you sure that it is not compiled into PHP?
create a info.php with content
<? phpinfo(); ?>
access it and search for GD. as i know redhat compiles it into php