How to set the PHP Api Version for phpize
- by Tom Frost
I'm upgrading php on my server but I'm running into a problem with phpize and compiling external modules. phpize -v reports:
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20090115
Zend Extension Api No: 220090115
But on my test server (which I'm trying to replicate) I get this:
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
I'm running debian squeeze, pulling the php 5.3.0-2 packages from the experimental repo. The difference betweent he two servers is that the first server has had old verisons of php on it, and the test server was installed with php 5.3.0-2 from the start.
I've attempted uninstalling all PHP packages from the first server (using --purge to get rid of all the config files) and re-installing 5.3 fresh, but I'm still having the same issue. Help!