Newsgroups: php.internals,php.pear.dev Path: news.php.net Xref: news.php.net php.internals:2451 php.pear.dev:17583 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 854 invoked from network); 19 Jun 2003 23:57:30 -0000 Received: from unknown (HELO chello080110105226.509.15.vie.surfer.at) (80.110.105.226) by pb1.pair.com with SMTP; 19 Jun 2003 23:57:30 -0000 Received: (qmail 25609 invoked by uid 1000); 19 Jun 2003 23:56:41 -0000 Date: Fri, 20 Jun 2003 01:56:41 +0200 To: internals@lists.php.net Cc: pear-dev@lists.php.net Message-ID: <20030619235641.GA25279@gjat.josefine.at> Mail-Followup-To: Markus Fischer , internals@lists.php.net, pear-dev@lists.php.net References: <395336819.20030619011936@idecnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <395336819.20030619011936@idecnet.com> X-Editor: Vim http://www.vim.org/ X-Url: http://guru.josefine.at/~mfischer/ X-PGP-Key: 0xC2272BD0 at wwwkeys.eu.pgp.net X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 User-Agent: Microsoft Outlook Express 5.50.4807.1700.314 X-Spamfilter: Fighting it with http://www.spamassassin.org/ and http://razor.sourceforge.net/ Subject: Re: [PHP-DEV] [RFC] Binary pecl packages From: mfischer@gjat.josefine.at (Markus Fischer) Hi, On Thu, Jun 19, 2003 at 01:19:36AM +0200, Tomas V.V.Cox wrote : [...] > pecl package name > ----------------- > > The name of the extension would be: > > peclfoo-bin---3.1.2-.tgz > > The os (Operating system) and arch (CPU type), would be the value > returned by the OS_Guess class. STATE is a valid PEAR_Common package > state. [...] The only thing I was really missing here (unless I managed to miss it in the text only) is different PHP versions. A binary built for PHP 4.0 wouldn't work with PHP 4.3 for example due to interface changes (bad example because not only the API changed but also some internals afaik; neverthless). I don't know if it's a good idea to show the version of PHP the binary was compiled against, but somehow it needs to be known if the binary is compatible at all. For example mod_ssl [1] always includes the version number of the Apache server it works with: 21-Mar-2003: Released 2.8.14-1.3.27: Important bugfixes. So, with a quick look on the filename you know if it's compiled against your PHP version or not. - Markus