[php-maint] Bug#612743: Bug#612743: php5: PHP is compiled with LFS support, but this can not be detected by extensions
debian at derickrethans.nl
Thu Feb 10 12:24:00 UTC 2011
On Thu, 10 Feb 2011, Ondřej Surý wrote:
> there is no guarantee at all to keep same ABI between different
> distributions. That doesn't only apply to LFS, but also to different
> shared libraries used, etc.
> The only safe way is to compile the extension using the development
> files provided by the distribution.
> Also the /usr/bin/php5-config script on Debian has an option --phpapi
> which prints the version. Also you can provide .deb packages with
> correct dependencies. It's just not reasonable to expect that
> non-static binary will work across different systems.
I know it doesn't; I was asking for making it detectable. Perhaps
instead of LFS, you could use DEBIAN as "ZEND_BUILD_EXTRA"
instead then? Or perhaps include flags with that, that show all the
different Debian flags/options/or perhaps a debian specific version nr
as well; such as DEBIAN1, DEBIAN2 etc...
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
More information about the pkg-php-maint