roacha Posted July 17, 2008 Share Posted July 17, 2008 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 Quote Link to comment Share on other sites More sharing options...
padduweb Posted July 21, 2008 Share Posted July 21, 2008 check this site.This site helps me PHP Answers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.