Problem building PHP extension module

Posted by tixrus on Super User See other posts from Super User or by tixrus
Published on 2010-04-16T01:12:35Z Indexed on 2010/04/16 1:23 UTC
Read the original article Hit count: 446

Filed under:
|

I'm trying to get GD into my PHP. So I compiled it, made php.ini point to it, restarted apache etc. But no GD. So in apache error log it says

PHP Warning: PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20060613\nPHP
compiled with module API=20090115\nThese options need to match\n in Unknown on line 0

So a bit of googling says I should not use the phpize I have before configuring and making these. I should use a new one called phpize5. I surely don't have any such thing. Unless its packed up inside something else in my php5.3. distro. Where do you get it. In Ubuntu I could just run sudo apt-get install php-dev, (apparently) and it would just appear by magic. At least that's what the webpage said. Unfortunately I am running MacOSX version Leopard.

How can I build this GD module so that it will match the API number in my PHP?

© Super User or respective owner

Related posts about php

Related posts about osx