How to set the PHP Api Version for phpize

Posted by Tom Frost on Server Fault See other posts from Server Fault or by Tom Frost
Published on 2009-07-23T15:22:57Z Indexed on 2010/04/16 22:23 UTC
Read the original article Hit count: 400

Filed under:
|

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!

© Server Fault or respective owner

Related posts about php

Related posts about debian