PDA

View Full Version : phpize doesn't work. Please help



majglow
01-19-2006, 09:05 PM
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.

Seth
09-03-2006, 08:14 AM
I'm getting the same error trying to install fileinfo

Geffy
01-19-2007, 03:49 AM
I don't know if you guys have got this working yet, but I had the same problem. This is how I solved it


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


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


* I was installing DBX btw ;)