Bug #48515 [Com]: PHP.ini not overriding master variables

From: Date: Wed, 11 Aug 2021 09:23:05 +0000
Subject: Bug #48515 [Com]: PHP.ini not overriding master variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235748@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48515&edit=1 ID: 48515 Comment by: julien dot romagnoli at gmail dot com Reported by: jackmcleod at infocode007 dot com Summary: PHP.ini not overriding master variables Status: Not a bug Type: Bug Package: Unknown/Other Function Operating System: Windows XP SP2 PHP Version: 5.2.9 Block user comment: N Private report: N New Comment: So i found my issue in my php.ini into the section "Quick Reference" i were set error_reporting: E_ALL & ~E_NOTICE & ~E_DEPRECATED and i have one more error_reporting into "Error handling and logging" section, which were causing this issue but strangly i didn't get any error message into the log of fpm Previous Comments: ------------------------------------------------------------------------ [2009-06-10 19:25:33] jackmcleod at infocode007 dot com I am using 5.2.9 - see version number. 5.2.3 was the version i was using when it was working. The issue also shows up on another PC. So i tried to find info on how to give then instruction to the server to take in charge another php.ini file thinking maybe it's a problem in my setup seeing you cannot reproduce, but came up with nothing. Perhaps you would know a resource site for apache php setups on windows or a specific instruction/environment variable. ------------------------------------------------------------------------ [2009-06-10 12:41:37] jani@php.net Update to 5.2.9 and check that the correct ini is loaded. There is no bug here. ------------------------------------------------------------------------ [2009-06-09 23:00:16] jackmcleod at infocode007 dot com Description: ------------ In php 5.2.3 everything was working fine, then i noticed magic quotes gpc being on again and i did some testing with the php.ini file to find out it was being completely ignored. Server API Apache 2.0 Handler Changing the values in the master file changes the values. Reproduce code: --------------- memory_limit = 128M (then restart the server) <?php phpinfo(); ?> Expected result: ---------------- When calling phpinfo();: memory_limit 128M 32M Actual result: -------------- When calling phpinfo();: memory_limit 32M 32M ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=48515&edit=1

« previous php.bugs (#235748) next »