Edit report at http://bugs.php.net/bug.php?id=52603&edit=1

 ID:                 52603
 Updated by:         f...@php.net
 Reported by:        php at gigfa dot com
 Summary:            php-fpm default init script does not load php.ini
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            FPM related
 Operating System:   Linux Debian 5.04
 PHP Version:        5.3.3
-Assigned To:        
+Assigned To:        fat
 Block user comment: N

 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


the default php.ini file is in %{prefix}/lib/php.ini and this file is
loaded by 

PHP-FPM even when it's launched by the sapi/fpm/init.d.php-fpm script.



How do you see it's not loaded ?


Previous Comments:
------------------------------------------------------------------------
[2010-08-14 07:21:57] php at gigfa dot com

Description:
------------
default php-fpm init script ( found in
./php-5.3.3/sapi/fpm/init.d.php-fpm after compilation ) does not load
default php.ini file.

I think to get the problem fixed, we need to replace :

php_opts="--fpm-config $php_fpm_CONF"

with :

php_opts="-c %conf-path% --fpm-config $php_fpm_CONF"

in this file :

./php-5.3.3/sapi/fpm/init.d.php-fpm.in



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52603&edit=1

Reply via email to