Edit report at https://bugs.php.net/bug.php?id=63782&edit=1
ID: 63782 Updated by: fel...@php.net Reported by: infected817 at gmail dot com Summary: php.ini not loaded by php-fpm unless -c switch is used -Status: Open +Status: Not a bug Type: Bug Package: *Configuration Issues Operating System: Ubuntu Desktop 12.10 PHP Version: 5.4.9 Block user comment: N Private report: N New Comment: Already exists a hint which does not uses trailing slash. " --with-config-file-path=PATH Set the path in which to look for php.ini [PREFIX/lib]" Previous Comments: ------------------------------------------------------------------------ [2012-12-17 03:35:20] infected817 at gmail dot com Mystery solved. I recompiled PHP with this configuration flag: --with-config-file-path=/etc/php5 Notice that before, I used --with-config-file-path=/etc/php5/ The trailing slash seems to be causing problems. I think it would be helpful to do the following: - Fix PHP to accept configuration folders with or without the trailing slash. OR - Add a note for --with-config-file-path in ./configure --help that says the trailing slash should be omitted. ------------------------------------------------------------------------ [2012-12-17 02:52:05] larue...@php.net make sure that you have did "make clean" after you re-configure ------------------------------------------------------------------------ [2012-12-17 02:30:29] infected817 at gmail dot com Clarified php.ini location. ------------------------------------------------------------------------ [2012-12-16 22:28:53] infected817 at gmail dot com Hi there, I actually made a mistake when copying the contents of the phpinfo() output as I had 2 virtual machines running at the time. My apologies for that. I just checked again and these are the results: Ubuntu Desktop 12.10 Configuration File (php.ini) Path /etc/php5/ Loaded Configuration File (none) However, there is a valid php.ini in /etc/php5 that is not being loaded. Is there anything else/more information I can check/provide? ------------------------------------------------------------------------ [2012-12-16 10:58:27] re...@php.net It's compiled with: /etc/php5/fpm Configuration File (php.ini) Path */etc/php5/[fpm]* Loaded Configuration File (none) but you try to load php.ini from: /etc/php5 <-- no fpm it's different. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=63782 -- Edit this bug report at https://bugs.php.net/bug.php?id=63782&edit=1