Le 18/07/2009 11:57, Tim Jackson a écrit :
Thanks for your corrections (applied)
There is no way of checking the ABI with packages for Fedora EPEL 5.
In fact, when I rebuild all extensions (for 5.3) I notice the solution
used by APC which is very specific to EL-5
%global php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP
Extension => //p') | tail -1)
Requires: php-zend-abi = %{php_zendabiver}
Could be usefull, as php 5.1.x and 5.2.x provides both the same API
(20041225) but different ABI (20050922 < 20060613)
$ rpm -qp --provides /tmp/php-common-5.1.6-23.el5.i386.rpm | grep 200
php-api = 20041225
php-zend-abi = 20050922
Remi.