note 109605 rejected from configuration.changes by cmb

From: Date: Tue, 03 Aug 2021 15:48:46 +0000
Subject: note 109605 rejected from configuration.changes by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-216728@lists.php.net to get a copy of this message
Note Submitter: nick at vistaworks dot net ---- On Windows, as the documentation above states, you cannot set max_upload_filesize and post_max_size in the registry, because they are PHP_INI_PERDIR. Confusingly, however, is the fact that phpinfo() will show your changes if you do add those to the regsitry, as if they were taking effect. However, the upload size is *not* changed, regardless of what phpinfo() reports. I believe the reading of registry values and override happen 'too late' in the request processing, ie, after the file has already been uploaded and rejected. In a perfect world, phpinfo() would recognize this and not report the overridden values, which is very confusing.

« previous php.notes (#216728) next »