无法将upload_max_filesize更改为Azure [英] Unable to change upload_max_filesize to Azure

查看:60
本文介绍了无法将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

这篇关于无法将upload_max_filesize更改为Azure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆