Jump to content

Unable to get php-gd working with 64 bit CentOS 5??


Recommended Posts

Hello,

 

I am having major problems getting php-gd working properly in my LAMP environment.  I am running 64 bit CentOS and PHP 5.2.6.  I am trying to get gd working with PHP.  Here are my currently installed packages related to gd:

 

rpm -qa | grep gd

gdb-6.5-25.el5_1.1

gdbm-1.8.0-26.2.1

php-gd-5.1.6-20.el5

gd-2.0.33-9.4.el5_1.1

sysklogd-1.4.1-40.el5

gd-2.0.33-9.4.el5_1.1

 

I have copied the gd.so from /usr/lib64/php/modules to the "extension location" specified in my php.ini and I have enabled the gd extension.  But when I restart apache I get this error in the error log:

 

PHP Warning:  PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20050922, debug=0,

thread-safety=0\nPHP    compiled with module API=20060613, debug=0, thread-safety=0\nThese options need to ma

tch\n in Unknown on line 0

 

 

And when I look at phpinfo(), gd does not show up.  Any suggestions I have run out of ideas!  Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.