Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45718 invoked from network); 11 May 2008 08:57:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2008 08:57:07 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.230 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.230 rv-out-0506.google.com Received: from [209.85.198.230] ([209.85.198.230:10996] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/39-34108-2E4B6284 for ; Sun, 11 May 2008 04:57:07 -0400 Received: by rv-out-0506.google.com with SMTP id g37so2026236rvb.23 for ; Sun, 11 May 2008 01:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dx8fGWOtOpUt5zr8p5KS+4iq9MpQKIjb1DUdNQhdS28=; b=dk/SCOk+i+dB9oFCEKHq3I9qBP8J5HkxYtVZ1pPvZwYFr5VrgaWMZ5s9s5tSgeSmt4JhxoOzVO8OKt7zOnb5aU3RKl/mUjLjyoQ3RGp1seJl0xKDr0EfrEbh0CifGlAuduVL7gvC65U6N43N8nOHB13/xzCt6P5SlRCX+Wspygo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vNDuuYqTzNJZoGm8tpvx7QobUSeuTmL9htTAzWVxN2C9Cgm8Z16KXICE2ZEpt2XXkvE0+p1VVN7TL4rW/oBadxWtH/orL05HZysS7kLiZqrElVANWudhT3jkzYnXEfkvdiB8j8ZNYWiuv/fB2nzqnAq4PO/Ifny2QI6LTMG0FbQ= Received: by 10.140.199.3 with SMTP id w3mr3080160rvf.175.1210496224255; Sun, 11 May 2008 01:57:04 -0700 (PDT) Received: by 10.141.123.13 with HTTP; Sun, 11 May 2008 01:57:04 -0700 (PDT) Message-ID: Date: Sun, 11 May 2008 10:57:04 +0200 To: "Hector Santos" Cc: internals@lists.php.net In-Reply-To: <48268C66.5090501@isdg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48268C66.5090501@isdg.net> Subject: Re: [PHP-DEV] Creating one extension version: how? From: pierre.php@gmail.com ("Pierre Joye") Hi, On Sun, May 11, 2008 at 8:04 AM, Hector Santos 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. > I have been trying to figure this out, reading/googling, etc, but in the > mean time what I had to do was recompile the extension for all PHP releases, > 5.04, 5.10, 5.12, 5.25 and now 5.26 and provide each one for users to select > during installation of the extension. The rules are relatively simple, each minor (5.1.x, 5.2.x, 5.3.x) upgrade breaks binary compatibility. That means you will have to rebuild your extension to get it work with a given version. So the way you choosed now is the right one. Please note that you aslo need one for debug and non debug version. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org