Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90276 invoked from network); 19 Aug 2013 18:32:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2013 18:32:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=jdavidlists@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jdavidlists@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.179 as permitted sender) X-PHP-List-Original-Sender: jdavidlists@gmail.com X-Host-Fingerprint: 209.85.223.179 mail-ie0-f179.google.com Received: from [209.85.223.179] ([209.85.223.179:59426] helo=mail-ie0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/30-22131-4FF52125 for ; Mon, 19 Aug 2013 14:12:04 -0400 Received: by mail-ie0-f179.google.com with SMTP id a14so101426iee.38 for ; Mon, 19 Aug 2013 11:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=RytR55aHGyBEkEGoNLRgfGBsguAEmVbQHoR5oPkhAlA=; b=OCJEobzdywxg0ldCnxWKEA6eO5++BB3GsJObvDihOdhEM7MjPydmTlY8/tLji9kqq5 igFqHKBWSqZHhw3gBuAWkoWp13aGseSh5pN9ealhvDIB+GPQVIWugiPhDqdAycpMbBTz RzHr9Cu9yhopbMQ7yT24Hn08NjNFThGdS9g9rrZRuqQZPHk+3aLhtNCdkCKdCfQMVmen wpbAuEEyW/udlXY+vVeV0xsNiRIQDt9mG6LLZqPGi++LvqdsmH+O2TO4zR91YbralrbE cWUYmFe6dMWrPQmP6HyjYaC6Vep3yESBAq8J34QYO0cfvJ7B+9ezaOKAbfdaQwudWtVR S/ow== MIME-Version: 1.0 X-Received: by 10.50.20.195 with SMTP id p3mr4676610ige.26.1376935921154; Mon, 19 Aug 2013 11:12:01 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.42.150.196 with HTTP; Mon, 19 Aug 2013 11:12:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Aug 2013 14:12:01 -0400 X-Google-Sender-Auth: vG1ww_11knhAh-qkVXzsgbvOd38 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Interest in a "null" SAPI for embedding? From: j.david.lists@gmail.com (J David) On Fri, Aug 16, 2013 at 9:15 PM, Sara Golemon wrote: > Right, gotcha. I think ideally someone should put in the grunt work to do > what you suggested: Build libphp5.so all the time, then link up > php/mod_php5.so/etc... against that as a shared system library (which in > turn other programs or SAPIs could link against). > > I'm not sure if anyone has the time and patience to do that (for its > relatively small return), but it'd get my vote. That is something I would volunteer to undertake (including RFC, etc), but in order to do so in a productive way, someone else would have to volunteer to do the Windows portion of the work. That's well beyond my knowledge, ability, and available development hardware. :( The big preliminary question for me would be, "Is there a specific design reason why it isn't currently done this way?" PHP already requires shlib's that depend on shlib's, so that functionality is probably universally available, but I can't shake the suspicion that maybe there is some has-to-be-supported platform or use case hiding at the periphery that requires static linking. (Which could hypothetically be addressed with a libphp5.a, but that isn't something I've looked into at all.) On the flip side of that, if the elsewhere-proposed OS/SAPI supported list reduction for 5.6 were to come to pass, that might be the right time for this change as well. (It would also allow those lesser-used/unused SAPIs to be independently supported if necessary, without carrying them all along in the tree forever.) Thanks!