Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31887 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27693 invoked by uid 1010); 24 Aug 2007 04:11:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27678 invoked from network); 24 Aug 2007 04:11:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2007 04:11:16 -0000 Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daleenterprise.com from 67.78.11.229 cause and error) X-PHP-List-Original-Sender: buildsmart@daleenterprise.com X-Host-Fingerprint: 67.78.11.229 daleenterprise.com Received: from [67.78.11.229] ([67.78.11.229:53206] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/10-26753-E5A5EC64 for ; Fri, 24 Aug 2007 00:11:14 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id 55BA21FB92A; Fri, 24 Aug 2007 00:11:05 -0400 (EDT) Received: from daleenterprise.com ([127.0.0.1]) by localhost (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11737-09; Fri, 24 Aug 2007 00:10:59 -0400 (EDT) Received: from [10.1.100.11] (daleenterprise.com [10.1.100.11]) by daleenterprise.com (Postfix) with ESMTP id 6D9B11FB920; Fri, 24 Aug 2007 00:10:57 -0400 (EDT) In-Reply-To: <46CE4309.70306@lerdorf.com> References: <19AB4106-C235-4FA0-B176-812183D37B9B@prohost.org> <7BC73E38-460C-4BF5-B164-DB9419A322E9@prohost.org> <69DC5A2F-539C-4E4D-AE69-CA8FCAB413A7@daleenterprise.com> <65771276-FE7F-4869-82F3-075C169A0C6F@prohost.org> <5D7A7744-B943-4529-9BB0-BE82E19EC1FE@daleenterprise.com> <46CE4309.70306@lerdorf.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <31F5F2CF-ADAA-4918-B92C-77DC1C67A6F9@daleenterprise.com> Cc: Rasmus Lerdorf Reply-To: PHP Developers Mailing List Content-Transfer-Encoding: 7bit Date: Fri, 24 Aug 2007 00:10:56 -0400 To: PHP Developers Mailing List X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) MTA-Interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at daleenterprise.com X-Virus-Scanned: using ClamAV 0.88.6 (2006-11-05) at daleenterprise.com Subject: Re: [PHP-DEV] Re: 5.2.4RC3 From: buildsmart@daleenterprise.com (BuildSmart) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Aug 23, 2007, at 22:31:37, Rasmus Lerdorf wrote: > BuildSmart wrote: >> True but by enabling it (or I thought) I could generate a single >> set of >> modules that could be used with apache 1 and apache 2 but it doesn't >> seem to matter to the apache 1 sapi, if I build the modules under >> apache >> 1 and force flat_namespace most of the modules seem to work under >> apache2 but I can't get any of the apache 2 build modules to work >> properly even in apache 2, I get that missing symbol issue however I >> don't get the issue if I build them embeded. > > Note that you take a significant performance hit by building it > threaded. Yes but you can't build for apache2 without building threaded and I believe because I force enable it in 1.3.33 doesn't mean it's used, and as far as I can tell it's only referencing a couple of symbols that aren't threading so it shouldn't be an issue. I'm just trying to find a happy medium where I can have a single install with 40 loadable extensions that can be used by 3 different versions of apache. It would be nice if there was some kind of flag form the sapi module that could be used to switch the module directory, then it wouldn't be an issue to have an install but two sets of modules, one that is used for the thread required and the other by non-threaded. So far it seems to always ut the modules in "no-debug-non- zts-20060613" and one would conclude that for the apache 2's which are thread safe would be in "no-debug-20060613" but this isn't where they are installing to. SEE: http://amavis-stats.com/php-5.2.3.tgz (a little over 100MB compressed - dependancies included), the only module that doesn't work is rar. I've included my own modules and the RRDTool framework so you can have a look at what's going on. The rar problem isn't a really big issue, I can program a work-around since it's only one customer who requires it and when time permits I can look at it and see what the problem is and why it doesn't work as a loadable module under apache 2 (at all). > > -Rasmus - -- Dale -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFGzlpR0hzWbkf0eKgRAoBeAKC8PIDD49DCVgk6asvBen+Sg+c5AgCfePpc i4rME8Cb+EOik3giH4WJ5H8= =o+PN -----END PGP SIGNATURE-----