I have installed the xampp dev package.
I'm trying to install PDO_MYSQL, but phpize fails and says it can't find autoconf. After googling, it seems Macs are supposed to have /usr/bin/autoconf , but I couldn't find mine. Does anyone know where the Mac autoconf is? Do I just set an environment variable PHP_AUTOCONF to that? Thanks.
lcrouchs-computer:/Applications/xampp/xamppfiles lcrouch$ sudo pecl install PDO_MYSQL
Password:
downloading PDO_MYSQL-1.0.2.tgz ...
Starting to download PDO_MYSQL-1.0.2.tgz (14,778 bytes)
.....done: 14,778 bytes
downloading PDO-1.0.3.tgz ...
Starting to download PDO-1.0.3.tgz (52,613 bytes)
...done: 52,613 bytes
12 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
ERROR: `phpize' failed
7 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
ERROR: `phpize' failed