Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30029 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64108 invoked by uid 1010); 1 Jun 2007 13:37:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64093 invoked from network); 1 Jun 2007 13:37:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2007 13:37:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.171 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.171 outbound.mailhop.org FreeBSD 4.6-4.9 Received: from [63.208.196.171] ([63.208.196.171:4754] helo=outbound.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/27-03780-B1120664 for ; Fri, 01 Jun 2007 09:37:33 -0400 Received: from cs136054.pp.htv.fi ([213.243.136.54] helo=[192.168.1.100]) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hu7Jn-000GOv-QC; Fri, 01 Jun 2007 09:37:27 -0400 X-MHO-User: U2FsdGVkX1+KnlwoXYqMv52c+MhvoXqOvt6HiEKyqak= X-MHO-User: U2FsdGVkX1/Yxf5nD/KkzUSQftZok5K0uVhzGI3Z02c= X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 213.243.136.54 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+BzJavx/ydsSYm7hB8L0CJtT30K759ALU= Message-ID: <46602120.7020900@sci.fi> Date: Fri, 01 Jun 2007 16:37:36 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Arnold Daniels CC: jani.taskinen@iki.fi, 'PHP Internals' References: <465E00E2.4010905@zend.com> <465E08D9.4020101@sci.fi> <465E7A28.3010100@zend.com> <465E8F99.70407@sci.fi> <49250.216.230.84.67.1180642728.squirrel@www.l-i-e.com> <465F305A.9020902@zend.com> <465FE701.6080401@adaniels.nl> <1180695997.3481.2.camel@localhost.localdomain> <46600C59.1010406@adaniels.nl> In-Reply-To: <46600C59.1010406@adaniels.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 5 or 6? From: jani.taskinen@sci.fi (Jani Taskinen) It's actually not the only binary/script that is build. --program-suffix|prefix affect also phpize, etc. scripts names. And AFAIK, CLI binary is always build unless of course you disable it. :) Patches are welcome. --Jani Arnold Daniels kirjoitti: > When you build the Apache2 SAPI the only binary build is the module, so > '--program-suffix' is unused. Anyway it doesn't have to be the same > configuration option per say (though I don't see why not), but the > method of specifying the suffix with configure is much handier than > having it hard-coded in source. I've stated the reasons in the previous > e-mail. > > Best regards, > Arnold > > > Jani Taskinen wrote: >> Because it's --program-suffix and not --library-suffix. >> >> --Jani >> >> On Fri, 2007-06-01 at 11:29 +0200, Arnold Daniels wrote: >> >>> Hi, >>> >>> Why isn't the Apache module appended with the same suffix as the other >>> binaries (configuration option --program-suffix). It seems like the >>> logical solution here. That way you can have any different versions if >>> you want, but the default is just the overwrite. >>> >>> Best regards, >>> Arnold >>> >>> >>> >>> Stanislav Malyshev wrote: >>> >>>>> I'd rather not have my old libphp#.so file over-written when I install >>>>> a new version, in case things go horribly wrong and I want to just >>>>> roll-back... >>>>> >>>> Then you have the same reason to worry right now - every php5 install >>>> from 5.0.0 to 5.2.3 overwrites libphp5.so. >>>> >>>> >>>>> There was a time where one could have 2 php mod versions running at >>>>> once, as I recall, and having different filenames was kinda important, >>>>> eh? >>>>> >>>> Well, there was a setting that kinda allowed that, but I'm not sure it >>>> ever worked correctly - there are all sorts of symbol clashes, etc. >>>> >>>> On the other hand, you can happily run two (or a dozen :) PHP versions >>>> right now - just install any FastCGI implementation, compile two >>>> cgi-fcgi PHPs and install. Only thing you would need to care about is >>>> to give them separate php.ini's and/or separate extension directories. >>>> >> >>