Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 559B718E02 for ; Fri, 13 Nov 2015 17:04:00 +0000 (UTC) Received: (qmail 384 invoked by uid 500); 13 Nov 2015 17:03:57 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 349 invoked by uid 500); 13 Nov 2015 17:03:57 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 339 invoked by uid 99); 13 Nov 2015 17:03:57 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2015 17:03:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3BDEE180F59 for ; Fri, 13 Nov 2015 17:03:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rcbowen_com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4yYqTo56Irb5 for ; Fri, 13 Nov 2015 17:03:47 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5FAFD20F6D for ; Fri, 13 Nov 2015 17:03:47 +0000 (UTC) Received: by qkao63 with SMTP id o63so53193414qka.2 for ; Fri, 13 Nov 2015 09:03:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcbowen_com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=YpkdYhs+5lxEK/5J7F6YO0MtPighb19s9uZJzkrrcwE=; b=FnYITltZXv77OIMxVSJcajugVZ+XDKkgahnt3r619otKvlrB7pqG4Whvh+oqs+iJpg 8edarqncP62I8zjsVKf3CMoFzNJu7F0PH9t+9PKsX5bH3qeU1eyn6r8XsQw9wKbDRCYE 8GX8xc0/kUho2Qlb4VHKvFUKf/w0s3Kz3bSDa6fslXMykO0Xi41+oT5KOMliAfu0f2Ff Nw9861QxIr+kCSWfYNAU7+PPwvjuADTrmrxgdNUGpSLXcYKkMttNOAeD1pIGalyrLAXE oK/KCPt+hpYTz6zWCp0L66IpSEZ1IcM2MPvYyfeFbeOqk+qDl5tNFLI+sMP6y8FDP/Ag FysQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=YpkdYhs+5lxEK/5J7F6YO0MtPighb19s9uZJzkrrcwE=; b=S89wtebKPgyK/sZHB1WAu93Px/RtuJqKBwwGMKm6S9wgp5AHqt6Bm63QbMnsssO8LO 2jdYmNgEqal6HY4UObmDFkYcnvWLE9aXBfSXNEjHfWC1tk2eOg5mSap7Oyn7crr1zsYs P5BfE2S9OvfptbYn12jrsdlbPFOXGBLLtHPLNGEQWyzbnfak9nu6ZWdR0mFpYJL4qXg4 qSm9USIBd9ZqHcRgvqUc9ciIHaWjtGK/FGpkH53ftlgnOnq/NIsrs+/yoWWZoMlJ0G9v magjBqzr1CKuH823n8LAs4SDX5OeF9f50AETZY3kgtnx8qnZe+3WZ0NibQT1e5QobCMC aBlA== X-Gm-Message-State: ALoCoQmXFqpeNl1ic3Mn0dw5vMGH5XknWpDmrQp+E1DxyDHM7bRNafJxEqw9RRdzzzLrllTmS/hy X-Received: by 10.140.146.10 with SMTP id 10mr24444222qhs.76.1447434226401; Fri, 13 Nov 2015 09:03:46 -0800 (PST) Received: from [192.168.0.245] (cpe-74-138-23-246.kya.res.rr.com. [74.138.23.246]) by smtp.googlemail.com with ESMTPSA id a69sm5440013qhc.10.2015.11.13.09.03.45 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Nov 2015 09:03:45 -0800 (PST) To: users@httpd.apache.org References: <5646124A.3010901@rcbowen.com> From: Rich Bowen Message-ID: <564617EF.8010207@rcbowen.com> Date: Fri, 13 Nov 2015 12:03:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [users@httpd] php.conf and PHP-FPM -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/13/2015 11:46 AM, Rose, John B wrote: > mod_php is not enabled. > > So you are saying if mod_php is NOT enabled and we are using > PHP-FPM, then php.conf is not used? > > Or we should rename it? Comment all the lines in it out? > > What drew our attention to this is the "DirectoryIndex index.php" > line in php.conf and was it conflicting with our "DiretcoryIndex" > line in httpd.conf. So ... possibly several different misunderstandings going on here. First of all, "php.conf" is just an arbitrary file name. httpd doesn't care what you name your configuration files, whether it's php.conf, foo.bar.conf, or mylittlepony.conf. (And even the .conf is arbitrary.) If a file is Include'ed, then it's used. So if you have Include *.conf Then any file named anything.conf is loaded and "used". Contrariwise, if you have Include conf/* then ANY file in that directory is included and used in your configuration. So, yeah, if you have a file named php.conf (or boogity.conf) and you've Include'ed it, then it's "used". As to whether you should rename/delete/comment the configuration file, it depends entirely on what's in it, and whether you want that configuration to be active. If what's in it is directives that enable mod_php, then you are probably safe removing the file, in your particular situation, where you're using php-fpm On the other hand, if you're still using mod_php for something, then you might still need that file, or, at least, the directives that are contained in it. Is that clearer? - --Rich > > Thanks > > On 11/13/15 11:39 AM, "Rich Bowen" wrote: > > > > On 11/13/2015 11:24 AM, Rose, John B wrote: >>>> >>>> If we are using PHP-FPM with Apache. Is there any reason to >>>> have conf.d/php.conf? >>>> > > If you're asking if you need mod_php enabled, then, no, you don't > need that when you're using php-fpm > > > > >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > - -- Rich Bowen - rbowen@rcbowen.com - @rbowen http://apachecon.com/ - @apachecon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZGF+gACgkQXP03+sx4yJODqACeJzKiSoqgprcFtQnH25S8l4Z3 slMAoIr7Zzm8jAh5HidDGg+4AL7SBUdT =El+s -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org