hi, On Sun, May 11, 2008 at 12:14 PM, Stefan Esser <[EMAIL PROTECTED]> wrote:
> >> How can you prepare my new extension source code and/or links so that the > >> DLL can support all the PHP 5.x.x versions? > > > > You can't. But you can have one source version which can be built > > against all PHP versions. > > This is not true. It is possible to create an extension that loads and > works in all PHP versions, but it is a PITA to write it. > > If you really want to do this you need to internally support different > binary versions of PHP and you need to replace the get_module export > with your own code that exports different structs depending on PHP version. > > Ah yes, and you need to load many symbols through the libc because they > might not exist in the PHP version. f.e. globals... And now try the same on windows :) It is also possible to use 2k5/8 binaries with VC6 binaries but that's a call for troubles. It is often possible to do many things (even different architecture support) on unix/linux and sometimes with windows. But we don't support that, that's what I meant with "you can't". I should have said: "You can but it is not supported" :) Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php