Phpize: Command not found?

So you are on Debian, trying perhaps to install an opcode cache or something and you use try to do it with pecl with


pecl install apc

for example.

And you can’t, because phpize is not installed. Then you try to compile it and run into the same problem.

Then you try to find out how to get it, only to need a package “php5-devel” that doesn’t seem to exist in any repository.

Fikar not. What you want is “php5-dev” – strange that this seems to not be mentioned in most instructions.

So you go.


apt-get install php5-dev

then you have phpize for whatever you were trying to do.

🙂

Leave a Reply

Your email address will not be published. Required fields are marked *