Click to See Complete Forum and Search --> : pecl install phpize failed


groovepapa
04-19-2007, 12:45 AM
I'm trying to install the PDO extension using pecl on my Mac with xampp, but I'm getting a very ambiguous error:

ERROR: `phpize' failed

Anyone know of common problems+fixes that cause this?

Thanks.

HalfaBee
04-19-2007, 01:14 AM
Have a look at the php site, it might help

http://au2.php.net/manual/en/install.pecl.php

groovepapa
04-19-2007, 01:57 AM
Well, I did look into the required packages listed on (http://www.php.net/anoncvs.php) and I downloaded/installed all of them (except re2c) using Fink.

Still have the same problem.

smccain
07-22-2009, 03:11 PM
I know this is a very old post, but it just helped me along my path and so I'm leaving the tidbit I (believe) I just learned for the next poor devil encountering the same thing.

I believe you need the php-devel package for phpize to work.

yum -y install php-devel

I'm not 100 percent sure of the syntax to install php-devel in Darwin (mac), but the principle will follow the above.

Hope this helps somebody.