Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53114 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60015 invoked from network); 7 Jun 2011 02:42:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2011 02:42:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=martinscotta@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=martinscotta@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: martinscotta@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:51954] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/47-20040-A009DED4 for ; Mon, 06 Jun 2011 22:42:18 -0400 Received: by vwl1 with SMTP id 1so3710773vwl.29 for ; Mon, 06 Jun 2011 19:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=X042cBLd3i2SgK//LOr0K3x+8DfiIZRXGXuTAYq1qhU=; b=cU/2w0exxHQr8GowSLDagraTRQJwHveEYYkgOoHujsusD/bYQOr50emxWgs0/BGdEG BCUn1dANaPUgqYM6U/mgPQ493oxXo2Rmt0jO98r8aIXpjcRThUxLFw3nQwHgw3j/VFqb sZ3I33d4TY1kzAlx2/hse52N+b6dkmcjR2YjE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GcniSawAYRA+nCv3lZthjx+tOTSMECshocFCe/794R+K3ZsJRuHnrPChOm6XMWDktg 0kPpxm34i89xdGiFeypdqZOYt1bhbyu4DF1ZLvZi4ULeke3MhVr4Kfc1B6xcGahZaWav IfzD2p41lq1r55nXbkcZW4IWId33B0e5sqCsM= MIME-Version: 1.0 Received: by 10.220.180.73 with SMTP id bt9mr1026939vcb.13.1307414535385; Mon, 06 Jun 2011 19:42:15 -0700 (PDT) Received: by 10.220.192.129 with HTTP; Mon, 6 Jun 2011 19:42:15 -0700 (PDT) In-Reply-To: <4DED5F9B.7060101@thelounge.net> References: <8757232E56758B42B2EE4F9D2CA019C901499F97@US-EX2.zend.net> <97.45.23189.8060DED4@pb1.pair.com> <4DED5F9B.7060101@thelounge.net> Date: Mon, 6 Jun 2011 23:42:15 -0300 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=90e6ba53adaaf4b40304a5162abe Subject: Re: [PHP-DEV] Bundling "modern" extensions From: martinscotta@gmail.com (Martin Scotta) --90e6ba53adaaf4b40304a5162abe Content-Type: text/plain; charset=ISO-8859-1 Martin Scotta On Mon, Jun 6, 2011 at 8:15 PM, Reindl Harald wrote: > > Am 06.06.2011 23:40, schrieb Martin Scotta: > > > It'd be very nice if some extension could be enabled just by dropping the > > "extension file" on the path. > > So developers can check what they have using phpinfo, and then upload the > > needed extension using ftp. Is it possible? > > if a "developer" only would try such idiotic action > he would lost his accounts forever and get fired from > one day to the next! > > WTF how can anybody have the idea that it would be a good > idea to let non-sysadmins uplod and execute binaries on a > server? > > Thanks you for all yours responses. Now it's clear what the issue is... the usage of compiled "libraries". We need some middleware between the core and PHP. That way extensions could be written in PHP, compiled and distributed in some "library" format. Library users just add them into their path, include them, and use the classes/functions as usual. - No OS dependence - minimum dependence with core version - size of core will reduce drastically - faster runtime, include only what libs you use, as you need them --90e6ba53adaaf4b40304a5162abe--