PHP Version 4.3.11 - What has happened to GD?

Support/Development for PHP
Bernie Steakouse
Forum User
Forum User
Posts: 17
Joined: Wed Apr 20, 2005 6:54 am

PHP Version 4.3.11 - What has happened to GD?

Unread post 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!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

what does: "rpm -q php-gd" report? If its not installed, just run: "yum install php-gd"
Bernie Steakouse
Forum User
Forum User
Posts: 17
Joined: Wed Apr 20, 2005 6:54 am

Unread post 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)!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

That wouldnt have anything to do with php, so no I dont really have any ideas there.
Bernie Steakouse
Forum User
Forum User
Posts: 17
Joined: Wed Apr 20, 2005 6:54 am

Unread post 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@
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
Bernie Steakouse
Forum User
Forum User
Posts: 17
Joined: Wed Apr 20, 2005 6:54 am

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

PSA isnt very reinstall friendly. Best way to go about it is to reinstall PSA, then restore from a backup
Bernie Steakouse
Forum User
Forum User
Posts: 17
Joined: Wed Apr 20, 2005 6:54 am

Unread post by Bernie Steakouse »

Trying to work around that now.

Thanks.

:)
Mikey_nl
New Forum User
New Forum User
Posts: 4
Joined: Fri Apr 22, 2005 10:43 am

Unread post by Mikey_nl »

my fault.
Last edited by Mikey_nl on Fri Apr 22, 2005 12:02 pm, edited 1 time in total.
Griffith
Forum User
Forum User
Posts: 95
Joined: Tue Dec 07, 2004 1:32 pm

Unread post by Griffith »

works fine after installing php-gd :)
Mikey_nl
New Forum User
New Forum User
Posts: 4
Joined: Fri Apr 22, 2005 10:43 am

Unread post by Mikey_nl »

worked finaly, two things, some old junk from 4.3.10 and the test gd draw isnt compatible anymore.

Thanks :)
akamaka
New Forum User
New Forum User
Posts: 3
Joined: Wed Feb 02, 2005 2:32 am

Unread post 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);
?>
Waylander
Forum User
Forum User
Posts: 60
Joined: Mon Apr 18, 2005 10:13 am

Unread post 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
ryanz
Forum User
Forum User
Posts: 68
Joined: Mon Dec 20, 2004 2:43 am

Unread post by ryanz »

Has anyone found a solution for this, or where do we get the rpms to roll back to php-4.3.10?
Post Reply