无法将upload_max_filesize更改为Azure

问题描述:

我有一个Laravel Azure网站.

I have a Laravel Azure website.

我有一个 .user.ini 文件,其中有一些设置,例如

I have a .user.ini file where I have some settings like

upload_max_filesize=120M
post_max_size=121M
output_buffering=Off
max_execution_time=3000
max_input_time=3000
memory_limit=140M

但是,很奇怪,只有 max_execution_time memory_limit更改了.我也尝试过 ini_set(),但结果相同.

But, strangely enough, only max_execution_time and memory_limit changed. I also tried ini_set() but with the same result.

有解决方案吗?

基本上,我在设置PHP_INI_SCAN_DIR中添加了.user.ini文件夹路径的值

Basically I added in the settings PHP_INI_SCAN_DIR with the value of the folder path to the .user.ini