Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Installing php4.3.X with GD
- Brad Shinoda
October 10, 2004, 7:57 pm
rate this thread
time now, and it's been working fine for me. But the other day I tried
to get image functions working and hit a brick wall with the
packaging. I get my packages from stable. Basically, when I tried to
install php4-gd2, I get something like this:
[error] php4-gd2 depends on zendapi-20040901
I seem to have that (virtual) package already installed however. The
only way I could get it (gd) installed was to change to the cgi
module, the only one available was php 4.1.2 or something really old
like that :(. I don't want to run old versions of php, but I do want
gd image functions.
1) Can I get php 4.3.X working with gd via apt? Where should I point
2) Should I apt-get remove apache and php4, then download and compile
Thanks for anyone's help in advance :)
Re: Installing php4.3.X with GD
I'm not sure what your talking about so this might not apply to you. I
recently installed php5 and then got GD to work. This is what I did.
2)move the file "php_gd2.dll" into your main php directory. I found it
in the php/ext folder
3)find ";extension=php_gd2.dll" and remove the ";" from the beginning
4) restart the server.
5) check phpinfo() there should be a whole section on GD that wasn't
If this doesn't work make sure you edited the right php.ini file. I have
one in my windows folder for an older version of php. The phpini for
PHP5 is in my php folder.