By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,827 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,827 IT Pros & Developers. It's quick & easy.

Installing php4.3.X with GD

P: n/a
I've been running apache and PHP by using apt-get packages for a long
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.

So...

1) Can I get php 4.3.X working with gd via apt? Where should I point
apt to?

or

2) Should I apt-get remove apache and php4, then download and compile
them myself?

Thanks for anyone's help in advance :)
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
red
Brad Shinoda wrote:
I've been running apache and PHP by using apt-get packages for a long
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.

So...

1) Can I get php 4.3.X working with gd via apt? Where should I point
apt to?

or

2) Should I apt-get remove apache and php4, then download and compile
them myself?

Thanks for anyone's help in advance :)

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.

1)Open php.ini

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
there before

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.
red
Jul 17 '05 #2

P: n/a
"red" <gr*****@reenie.org> wrote in message
news:Yh*********************@news.easynews.com...
I'm not sure what your talking about Apparently not. so this might not apply to you. I
recently installed php5 and then got GD to work. This is what I did.

1)Open php.ini

2)move the file "php_gd2.dll" into your main php directory. I found it
in the php/ext folder

The OP isn't using Windows.

--
Kurt Weber
km*@armory.com
Your Contributions wanted:
http://en.wikipedia.org/wiki/User:Km...Has_Ever_Lived
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.