Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74836 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55807 invoked from network); 11 Jun 2014 02:16:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jun 2014 02:16:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@samplonius.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tom@samplonius.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain samplonius.org from 209.85.192.180 cause and error) X-PHP-List-Original-Sender: tom@samplonius.org X-Host-Fingerprint: 209.85.192.180 mail-pd0-f180.google.com Received: from [209.85.192.180] ([209.85.192.180:45237] helo=mail-pd0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/E3-42235-80CB7935 for ; Tue, 10 Jun 2014 22:16:41 -0400 Received: by mail-pd0-f180.google.com with SMTP id ft15so1435694pdb.39 for ; Tue, 10 Jun 2014 19:16:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=E62gad8yBeilsRaZLsaCPi9UJ1pugkRiJoY+SMVHzJA=; b=mQsep56+nZFsO0tTcja4YBsqtvqO91FeU8x7uUuPFdFsraqrxRsWWE7IBpWUULxzEo JCY88GCOCrZ8EdPGeBgYFSrfayaOKVAhYGcnptnfszS0PRdtu8uPSOPrtQl9hYkO8bin oIZOrpxsWGCuBaUnv9TLcHDtRIqcBkFvtJ+z5P1yyws75+fahNp0TIjDeNYmO6BBoVyN tEY2tbARTsCWIACYyXgrZ3UId5c6us76Sv7nciF79IKwnmbo1mJ4+KKW5/7Z9eEpDtHO G7m8NWj8TlBNkR1UIWwVW81Gao5MBM/x1KKs4rrPJ3vW7bO+rt2UNIIfQ6Hv6dzYZ86W A20w== X-Gm-Message-State: ALoCoQkprV8yH6BEiZGBQfuBgRCoGLQvyKfk2vajBwUNidpH7V5OoGgbLukRErlTY+K+hcbdg/j4 X-Received: by 10.66.191.9 with SMTP id gu9mr9612947pac.27.1402452998003; Tue, 10 Jun 2014 19:16:38 -0700 (PDT) Received: from [192.168.10.35] ([97.107.179.1]) by mx.google.com with ESMTPSA id bx5sm14384279pbd.69.2014.06.10.19.16.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 19:16:37 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) In-Reply-To: <2C3AA922-B514-45C0-940E-EBF6F931BCE1@googlemail.com> Date: Tue, 10 Jun 2014 19:16:35 -0700 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <2C3AA922-B514-45C0-940E-EBF6F931BCE1@googlemail.com> To: Kevin Ingwersen X-Mailer: Apple Mail (2.1878.2) Subject: Re: [PHP-DEV] Own webserver, with PHP plus opcache/similar? From: tom@samplonius.org (Tom Samplonius) On Jun 10, 2014, at 5:03 PM, Kevin Ingwersen = wrote: > Hey. >=20 > I am not particulary sure if this is the right list to ask this, but I = decided I would just try (besides, its the only list I subscribed to). >=20 > For an application that I run, I have bumped against apache=92s edge: = WebSocket support. But the main application is written in PHP, Yii = Framework, so I do not want to move away from this - and cant do that = very easily either. So I was thinking about writing my own webserver, = maybe in nodejs or the like, but also take best advantage of PHP. ... You may want to look at how this is done in Phabricator = (http://phabricator.org/). Besides, overall being a very interesting = piece of modern PHP code, Phabricator uses a very simple node.js server = for websockets. The PHP code sends messages to node.js, and node.js = distributes them to any listening users. Phabricator is released under = the Apache license, so you can cherry pick code easily. Tom=