PHP 下传文件的 最大限制,求解!
PHP 上传文件的 最大限制,求解!!!
请问一下 ,我在 php的 配置中调整了 上传文件最大限制!~!!! 如下~~~
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir ="E:\appserv\www\tem"
; Maximum allowed size for uploaded files.
upload_max_filesize = 100M
;;;;;;;;;;;;;;;;;;
可是 一直只能上传 2M 一下的文件!! 这是为什么??
提醒, 我把 100M 改为了 100000000 与 100M ,
并且每次修改后,我都重新启动服务器了, 可是为什么 就是 不能上传 大文件???
求解!!!!
------解决方案--------------------
报错了没? post_max_size 也改大点。
------解决方案--------------------
在php.ini里面查看如下行:
upload_max_filesize = 100M post_max_size = 100M memory_limit = 40M
把这个2个改成一样,试试看~!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics
![PHP Warning: filesize() [function.filesize]: stat failed solution](https://img.php.cn/upload/article/000/887/227/168744929486784.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
PHP Warning: filesize() [function.filesize]: stat failed solution

iPhone 15 Pro Max vs iPhone 14 Pro Max: What are the comparisons and differences between them?

How to use HEIF Max (48 MP) and optimize storage on iPhone 14 Pro

Battery life comparison of all iPhone 15 series: iPhone 15 Plus beats 15 Pro Max

How to get max value from stream in java8

Samsung S25 Ultra details exposed: same width as iPhone 16 Pro Max, but with a larger screen

PHP function introduction: is_file() function

How to compare the size of two numbers using the Math.max() method in Java?
