Home > Backend Development > PHP Tutorial > 请教 程序中最大上传配置设置为啥无效尼

请教 程序中最大上传配置设置为啥无效尼

WBOY
Release: 2016-06-23 13:25:29
Original
884 people have browsed it




为啥
默认最大是2M,可是我配置无效


回复讨论(解决方案)

post_max_size 和 upload_max_filesize 的可修改范围都是 PHP_INI_PERDIR
表示他们只可以在 php.ini、httpd.conf 或 .htaccess 文件中修改

看来不能在程序中配置,懂了,多谢

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template