WordPress Docker Image赢得了Azure上传限制的增加
我在Azure App Service上有一个WordPress映像。我直接从Docker Hub安装了WordPress。我没有使用Docker组成。我将使用的主题的文件大小很大。因此,我想增加WordPress文件上传限制和时间。但是我不知道该怎么做。
我可以通过定义像wp_config_extra这样的值来做到这一点吗?
I have a WordPress image on Azure App Service. I installed WordPress directly from the docker hub. I didn't use Docker compose. The file size of the theme I will use is large. For this reason, I want to increase the WordPress file upload limit and time. But I don't know how to do this.
Can I do it by defining a value like WP_CONFIG_EXTRA?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
按 @f1linux post ,
尝试以下面的方式更改
docker-compose.yml
:uploads.ini
带有以下设置:dockerfile-php
:构建
docker-compose.yml 转介
dockerfile-php
依次引用uploads.ini
:使用所有文件运行Docker-Compose Directory:(
或)交替:
修改网络管理设置以增加值。
上传设置
节,修改最大上传文件大小
,然后按保存更改
。请参考“ nofollow noreferrer”> a>有关更多信息。
As per @F1Linux post,
Try to change the
docker-compose.yml
in the following way:uploads.ini
with below settings:Dockerfile-php
:build
config ofdocker-compose.yml
which refersDockerfile-php
which in turn refersuploads.ini
:Run the docker-compose directory with all files:
(OR) Alternatively:
Modify the Network Admin Settings to increase the value.
Upload Setting
section, modify theMax upload file size
then pressSave Changes
.Please refer Update PHP settings for more information.