On 14-01-2015 00:17, alex lupu wrote: > On Tue, Jan 13, 2015 at 7:08 PM, Fernando de Oliveira <[email protected]> > wrote: > >> On 13-01-2015 18:30, alex lupu wrote: >>> BLFS Book version 2015-01-12, PHP-5.6.4 >>> >>> 1. I do not understand this move: >>> >>> mv -v /etc/php-fpm.conf{.default,} >> >> It is using brace expansion. It is an excellent form to decrease the >> size of commands, by writing only once the common part. >> >> Try: >> >> $ echo /etc/php-fpm.conf{.default,} >> /etc/php-fpm.conf.default /etc/php-fpm.conf >> >> This means that >> >> mv -v /etc/php-fpm.conf{.default,} >> >> is equivalent to >> >> mv -v /etc/php-fpm.conf.default /etc/php-fpm.conf >> >> See, e.g. "Bash Brace Expansion Tutorial: 6 Examples of Expanding >> Expressions within Braces": >> >> http://www.thegeekstuff.com/2010/06/bash-shell-brace-expansion/ > > > Hi Fernando, > > My problem was I never found a file 'php-fpm.conf.default' in '/etc' or > anywhere else, so the mv command would _fail_, from my standpoint {whether > I had any idea about those braces or not :}. > > The mystery (i.e., the apparent _missing_ 'php-fpm.conf.default' file - to > be later renamed to 'php-fpm.conf' by the mv command) is two-fold:
Sorry for my misunderstanding. I have: $ xzgrep php-fpm.conf.default php-5.6.4-2014.12.21-08h28m52s.log.xz “/etc/php-fpm.conf.default” -> “/etc/php-fpm.conf” So, it works for me. I was going to write that i does work for me before grepping a log, because my script would stop if this move failed. Is there a possibility that --with-config-file-path=/etc is missing in your config command? -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
