php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80911 PHP will not recognize change to upload_max_filesize
Submitted: 2021-03-27 22:27 UTC Modified: 2021-03-28 19:36 UTC
From: dc dot hart at slowlyboiledfrog dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 7.4.16 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dc dot hart at slowlyboiledfrog dot com
New email:
PHP Version: OS:

 

 [2021-03-27 22:27 UTC] dc dot hart at slowlyboiledfrog dot com
Description:
------------
Fedora 33
Apache 2.4.46
Unable to upload file to localhost development site

php.ini: upload_max_filesize = 64M
#php -i: upload_max_filesize => 64M => 64M
phpinfo(): upload_max_filesize	2M	2M

Yes, I have restarted httpd.

I am unable to upload anything greater than 2M.

This bug breaks my development site. For me it is a CRITICAL issue.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-27 22:36 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2021-03-27 22:36 UTC] requinix@php.net
This is unlikely to be a bug with PHP.

Make sure you've edited the correct files (check phpinfo() to see what others besides php.ini may have been loaded) and that you've restarted the correct processes (such as php-fpm if you use FPM).
 [2021-03-27 23:53 UTC] scwfwf dot efsg at dvdg dot hh
what about edit the php config you can see also in php.ini instead some random file?
 [2021-03-27 23:56 UTC] ecegeg dot sgegeg at dvdh dot svdg
in phpinfo() i meant and if you have additional override files they win - also visible in phpinfo() - your Bugreport shows that you should hire some sysadmin
 [2021-03-28 16:03 UTC] dc dot hart at slowlyboiledfrog dot com
-Status: Feedback +Status: Closed
 [2021-03-28 16:03 UTC] dc dot hart at slowlyboiledfrog dot com
CLOSED: Cleared with a reboot
 [2021-03-28 16:20 UTC] dbrbr dot sgegrh at egrh dot egeg
so you still don't how how to reload config changes? Jesus christ....
 [2021-03-28 19:36 UTC] requinix@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC