Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45080 invoked from network); 15 Sep 2009 15:20:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2009 15:20:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=dreamcat4@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dreamcat4@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.212 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: dreamcat4@gmail.com X-Host-Fingerprint: 209.85.220.212 mail-fx0-f212.google.com Received: from [209.85.220.212] ([209.85.220.212:41023] helo=mail-fx0-f212.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/93-25364-CA0BFAA4 for ; Tue, 15 Sep 2009 11:20:13 -0400 Received: by fxm8 with SMTP id 8so227875fxm.23 for ; Tue, 15 Sep 2009 08:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=zLCvsTvjXKxqO7zPpYVJr9ghdLWG+tV25GLE18opHDo=; b=mjrYTem/ETXOPkw3iqoXQqrglNcovem6gfOxaIlXat8DnQ3nwmWfOT75BG6cz2xfoG RLAUgY7kALq8MFgxBpTTPtUP3kIgrrss36tdLyIzv9T64MZGtd1H6+1gq8CrdCsFzjio A+/9YRTUsbdrFf2Coa+yX911gqXW7/C4jUDqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Ec7T/RyqW2QDKQn5Vf294dyxfTBsDuWrGV53JU/vqvKFKWKZsZttU8DEI1EUAsET7l bEWBBsBO5msV5xlc5jkOrC5I71ar22OBCxS80b0M2ShNHZdcYeza7hjjD4kW4iJJpRWd iwdJRpLC5dKS+anuDZm8trZTbMIM6RiOmm4U8= MIME-Version: 1.0 Received: by 10.239.139.91 with SMTP id s27mr703561hbs.84.1253028009335; Tue, 15 Sep 2009 08:20:09 -0700 (PDT) Date: Tue, 15 Sep 2009 16:19:49 +0100 Message-ID: <99cf22520909150819x5a6e289cna17235e614513e99@mail.gmail.com> To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: fpm sapi From: dreamcat4@gmail.com (dreamcat four) Hello Internals list, Today i've had first successful compilation of the fpm sapi (in PHP src tree) So here's a current status for these efforts: Libevent: ======= Nick, who is the author of Libevent, says we should not need the modification. Link: http://sourceforge.net/tracker/?func=detail&aid=2856327&group_id=50884&atid=461322 Fpm is known to work with libevent-1.4.11 and 1.4.12. Version 2.0a of libevent is supposed to be allright too, untested. Its also likely that FPM works with earlier versions, again not tested. So the build dependency is: libevent >= 1.4.11 in the configuration. With the default setting libevent will be compiled-in (statically) Otherwise telling configure "--with-libevent=shared" will be .so If this isn't right, it can be changed. Config / m4: ========= Contrary to a previous statement, i decided to go away and work on the config by myself. So all the major / biggest config work are done now and in position. However I am not entirely familiar with all the PHP/2.13 conventions. Please expect for parts of my config to still be improved upon. I'd be grateful for some reviewing of this configuration which would be a very great help. Directory structure: =============== sapi/fpm/src/fpm (fpm_init.c) sapi/fpm/src/sapi (cgi_main.c) sapi/fpm/src/config (fpm.conf.in, init.d.in) sapi/fpm/src/man (fpm.1.in) We can move the src files down a level to "sapi/fpm/fpm" or 2 level "sapi/fpm". FPM build products: =============== There's still a few little things to be tweaked, Nothing to worry about. I shall continue making improvements for the time being. Best regards dreamcat4 dreamcat4@gmail.com