Page 1 of 2

PHP Version 4.3.11 - What has happened to GD?

Posted: Fri Apr 22, 2005 5:00 am
by Bernie Steakouse
I've just updated (again) PHP via yum (I had previously removed it because I had GD problems with 4.3.11, and then installed via yum back to 4.2.2).

With the version that comes via yum (4.3.11) GD doesn't appear to be correctly set up, this is a major problem for me as a lot of my website (forum and gallery) rely on GD functions.

PHP info is www.mini2.com/phpinfo.php

As you can see GD is in the configuration command, but there's no GD details given as there usually is when it's working OK.

I don't know why GD doesn't work, as when I just ran "yum update" to get back to 4.3.11 it did say it was getting php-gd?

If anyone can help me out of this serious fix, I'd be VERY grateful!

Posted: Fri Apr 22, 2005 9:13 am
by scott
what does: "rpm -q php-gd" report? If its not installed, just run: "yum install php-gd"

Posted: Fri Apr 22, 2005 9:21 am
by Bernie Steakouse
I tried yum install php\* but php-manual has a dependency issue, so that didn't work, php-gd just did. I just assumed it would be required so wouldn't need to be done alone.

Thanks ever so much for that.

However, I've managed to break PSA while doing this, so I get a connection refused when I try to get to the Plesk admin tool.

Do you have suggestions on how to fix this?

Thanks again (again)!

Posted: Fri Apr 22, 2005 9:38 am
by scott
That wouldnt have anything to do with php, so no I dont really have any ideas there.

Posted: Fri Apr 22, 2005 10:07 am
by Bernie Steakouse
Removing php seemed to kill PSA somehow, if I removed and re-installed PSA (which I did) would I have to reinstall the key?

Error I get is: httpsd: bad user name @admin_user@

Posted: Fri Apr 22, 2005 10:33 am
by scott
Well if you remove php through yum, it would ask you if you wanted to remove all the dependencies to it as well, one of which would have been psa. This is why I said if you were going to remove php, do it manually, with rpm, not with yum.

Posted: Fri Apr 22, 2005 10:37 am
by Bernie Steakouse
By the time I saw that advice I'd already done it via yum! :roll:

Not your fault, just wondered if you (or anyone else reading) could help me get out of this little mess?

Posted: Fri Apr 22, 2005 10:41 am
by scott
PSA isnt very reinstall friendly. Best way to go about it is to reinstall PSA, then restore from a backup

Posted: Fri Apr 22, 2005 10:44 am
by Bernie Steakouse
Trying to work around that now.

Thanks.

:)

Posted: Fri Apr 22, 2005 10:45 am
by Mikey_nl
my fault.

Posted: Fri Apr 22, 2005 11:20 am
by Griffith
works fine after installing php-gd :)

Posted: Fri Apr 22, 2005 11:56 am
by Mikey_nl
worked finaly, two things, some old junk from 4.3.10 and the test gd draw isnt compatible anymore.

Thanks :)

Posted: Mon Apr 25, 2005 4:57 am
by akamaka
At mine GD don't work, php-gd is installed, phpinfo show gd installed, but gd not functioning. (RH9 and Fedora2, php-4.3.11-6)

GD test script:
<? header ("Content-type: image/png");
$newImg = ImageCreate(250,250);
$skyblue = ImageColorAllocate($newImg,136,193,255);
ImageFill($newImg,0,0,$skyblue);
ImagePNG($newImg);
ImageDestroy($newImg);
?>

Posted: Fri Apr 29, 2005 8:26 am
by Waylander
same here...

sys rh9/psa 7.5.2/php4.3.11 (via yum) zend 2.5.7. after "yum install gd-php" and restart httpd gd wouldnt work:(

phpinfo say

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

have anyone solved the prob?

thanks

way

Posted: Mon May 02, 2005 12:23 pm
by ryanz
Has anyone found a solution for this, or where do we get the rpms to roll back to php-4.3.10?