Was this ever resolved ? I currently have issues with most of my sites hosted on Azure!! I have followed recomdation from @Grmacjon-MSFT above but that does not work
Increase Max Upload Size on Azure App Service PHP8
I'm trying to upload larger files to a PHP 8 app running on Azure App Service.
The instructions in the Microsoft Documentation for Azure App Service are referencing PHP 7 which used Apache, rather than the PHP 8 instances which use NGINX so they don't work.
I have tried adding client_max_body_size 100M; to the sites-available/default config file and restarted NGINX but no luck in getting it to work. The test file is 11MB, smaller files of 1MB work fine.
7 answers
Sort by: Most helpful
-
-
Bogdan Berg 5 Reputation points
2024-11-07T04:01:22.6133333+00:00 I'm facing the same problem, trying 1 solution at a time from every thread I can find online, still no success and am stuck at the 50MB limit.
Puzzling, how such basic functionality/configuration requirement can become so obfuscated in Azure...