From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [WIP 0/2] php-fpm service - assistance appreciated Date: Thu, 8 Dec 2016 18:52:08 +0100 Message-ID: <1481219530-786-1-git-send-email-h.goebel@crazy-compilers.com> References: <1481219132-27353-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF2rk-0006w8-A9 for guix-devel@gnu.org; Thu, 08 Dec 2016 12:52:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF2re-0004aZ-IL for guix-devel@gnu.org; Thu, 08 Dec 2016 12:52:20 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:52233) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cF2re-0004a6-C9 for guix-devel@gnu.org; Thu, 08 Dec 2016 12:52:14 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tZNH03x9yz3hj7Z for ; Thu, 8 Dec 2016 18:52:12 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tZNH03JTCzvnMr for ; Thu, 8 Dec 2016 18:52:12 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id l-5Y92s7bb5U for ; Thu, 8 Dec 2016 18:52:10 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-144-224.dynamic.mnet-online.de [188.174.144.224]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 8 Dec 2016 18:52:10 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 244B860108 for ; Thu, 8 Dec 2016 18:52:10 +0100 (CET) In-Reply-To: <1481219132-27353-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a draft for a PHP FastCGI service behind nginx. There are some issues I could not solve: In the service definition: * Configuration requires two files. How can I pass both to php-fpm-activation? * How to refer to the systems timezone settings in a configuration? (see php-ini -> date.timezone) * How to make a configuration parameter default to the value passed to another parameter (e.g. upload-max-filesize should default to the value given for post-max-size). In the sample system configuration: * How to pass the nginx and php package directories to "string-append" (see http://lists.gnu.org/archive/html/help-guix/2016-12/msg00023.html) Hartmut Goebel (3): services: Add php-fpm service. gnu: Add "PHP FPM" OS config example. -- 2.7.4