我们在具体的实践中会发现在php.ini中设置文件上传大小的时候会非常麻烦,而且还很容易出错。那么,今天我们就教大家几种具体的解决方法:
PHP限制上传文件大小第一:
在php.ini里面查看如下行:
upload_max_filesize = 8M
post_max_size = 10M
memory_limit = 20M
把这些值改成我所说的,看看有没有问题,另外要确认上传的
Statement: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