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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.