Skip to content

Conversation

@tangorcraft
Copy link

@tangorcraft tangorcraft commented Aug 26, 2016

if vars not expanded in php-fpm.service, it may compile into something like this:

...
PIDFile=${prefix}/var/run/php-fpm.pid
ExecStart=${exec_prefix}/sbin/php-fpm --nodaemonize --fpm-config ${prefix}/etc/php-fpm.conf
...

Is it only me, but when I run ./configure without setting '--prefix' I get NONE as a prefix in php_fpm_sysconfdir, php_fpm_localstatedir and php_fpm_prefix, because

test "$prefix" = "NONE" && prefix=/usr/local

is done after

php_fpm_sysconfdir=`eval echo $sysconfdir`
PHP_SUBST_OLD(php_fpm_sysconfdir)
php_fpm_localstatedir=`eval echo $localstatedir`
PHP_SUBST_OLD(php_fpm_localstatedir)

@krakjoe
Copy link
Member

krakjoe commented Jan 5, 2017

I just merged another fix for this problem that was open longer, so closing this PR.

@krakjoe krakjoe closed this Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants