[packages/php/PHP_5_4] skip php-fpm -qn as it misbehaves (loads global php.ini regardless of -n option)

glen glen at pld-linux.org
Fri Jul 27 23:33:03 CEST 2012


commit 0d92f5f07d4a6b485560709c7cf630052d08970d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jul 28 00:32:59 2012 +0300

    skip php-fpm -qn as it misbehaves (loads global php.ini regardless of -n option)

 php.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 9023d65..924b7a1 100644
--- a/php.spec
+++ b/php.spec
@@ -10,6 +10,7 @@
 # --with-onig=DIR         MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
 # - recheck: define PDO_MYSQL_UNIX_ADDR (ensure if's correct with mysql-libs and mysqlng)
 # - uses libvpx for webp support, should use libwebp-devel instead?
+# - fpm -qn check fails, as it still loads /etc/php/php.ini
 # NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
 # UNPACKAGED EXTENSION NOTES:
 # - com_dotnet is Win32-only
@@ -2266,7 +2267,7 @@ cp -pf php_config.h.cgi-fcgi main/php_config.h
 %if %{with fpm}
 cp -pf php_config.h.fpm main/php_config.h
 %{__make} -f Makefile.fpm
- ./sapi/fpm/php-fpm -qn -m > /dev/null
+#./sapi/fpm/php-fpm -qn -m > /dev/null
 %endif
 
 # CLI


More information about the pld-cvs-commit mailing list