phpize doesn't work. Please help

majglow

Verified User
Joined
Feb 2, 2005
Messages
11
Location
Oregon
I am trying to get the PECL memcache extension to work, so I run the following:

/usr/local/bin/pecl install memcache

and get the following output:

downloading memcache-2.0.0.tgz ...
Starting to download memcache-2.0.0.tgz (16,896 bytes)
......done: 16,896 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
Cannot find autoheader. Please check your autoconf installation and the $PHP_AUTOHEADER
environment variable is set correctly and then rerun this script.

ERROR: `phpize' failed
---------------------------------------

Why does phpize fail? I have no idea :( Please help.
 
I'm getting the same error trying to install fileinfo
 
I don't know if you guys have got this working yet, but I had the same problem. This is how I solved it

Code:
server# setenv PHP_AUTOHEADER autoheader213
server# pecl install dbx

I chose autoheader213 as my autoconf --version out put (which I assumed PHP was using) said it was 2.13. I also have autoconf259 and autoheader259 installed as well. If I had wanted it to use that then I could have done this

Code:
server# setenv PHP_AUTOCONF autoconf259
server# setenv PHP_AUTOHEADER autoheader259
server# pecl install dbx


* I was installing DBX btw ;)
 
Back
Top