Summary: | dev-lang/php-5.6.17 - php-fpm defaults to non-existent log directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Flogeras <dflogeras2> |
Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Flogeras
2016-01-15 16:17:49 UTC
I think the correct way to fix this is to specify --localstatedir="${EPREFIX}/var" in src_configure(). The default is to use "${EPREFIX}/var/lib" as explained here: https://archives.gentoo.org/gentoo-dev/message/6d5ece07355d2edd1240bde0c5d7ed03 After we fix that, the default will be /var/log/php-fpm.log. We just need to make sure that change doesn't break anything else. This seems to work -- famous last words. I revisioned both the 5.6 and 7.0 series: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824097f4c1c36cc4afea4b45f052d1788204dde9 Both versions of php-fpm start out of the box for me now. |