Author: pierre Date: Sat Mar 18 04:29:52 2017 New Revision: 18505 Log: Fix installation of default configuration files, and add some explanation of their use, in php
Modified: trunk/BOOK/general/prog/php.xml Modified: trunk/BOOK/general/prog/php.xml ============================================================================== --- trunk/BOOK/general/prog/php.xml Fri Mar 17 19:44:54 2017 (r18504) +++ trunk/BOOK/general/prog/php.xml Sat Mar 18 04:29:52 2017 (r18505) @@ -278,6 +278,7 @@ <screen role="root"><userinput>make install && install -v -m644 php.ini-production /etc/php.ini && +mv -v /etc/php-fpm.conf{.default,} && mv -v /etc/php-fpm.d/www.conf{.default,} && install -v -m755 -d /usr/share/doc/php-&php-version; && @@ -465,16 +466,6 @@ <title>Configuration Information</title> <para> - Without the file <filename>/etc/php-fpm.d/www.conf</filename>, - the process manager does not start. However, it is the file - <filename>/etc/php-fpm.d/www.conf.default</filename>, that is - installed. To solve this, issue as the - <systemitem class="username">root</systemitem> user: - </para> - -<screen role="root"><userinput>cp -v /etc/php-fpm.d/www.conf.default /etc/php-fpm.d/www.conf</userinput></screen> - - <para> The file used as the default <filename>/etc/php.ini</filename> configuration file is recommended by the <application>PHP</application> development team. This file modifies the default behavior of @@ -485,6 +476,15 @@ </para> <para> + The fastCGI process manager uses the configuration file + <filename>/etc/php-fpm.conf</filename>. The default file shipped with + PHP includes all the <filename>/etc/php-fpm.d/*.conf</filename> in turn. + There is a shipped <filename>/etc/php-fpm.d/www.conf</filename> file, + that contains the parameters related to the interaction with the Apache + Web server. + </para> + + <para> You may have noticed the following from the output of the <command>make install</command> command: </para> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page