[英]POST Content-Length even after updating php.ini
I changed both upload_max_filesize
and post_max_size
to 128M
. 我将
upload_max_filesize
和post_max_size
都更改为128M
。 The video I'm trying to upload is only 40MB and shouldn't be causing any issues. 我尝试上传的视频只有40MB,应该不会引起任何问题。 If it's any help I'm using MAMP Pro with PHP 5.5.10.
如果有帮助,我正在将MAMP Pro与PHP 5.5.10结合使用。 I've searched a bunch of places and nothing seems to solve it.
我搜索了很多地方,似乎什么也解决不了。 Any help would be great.
任何帮助都会很棒。 Thanks
谢谢
MAMP Dynamically creates the php.ini
file each time it's run. MAMP每次运行时都会动态创建
php.ini
文件。 Changing the file in the physical directory will have no effect on how PHP works. 更改物理目录中的文件不会影响PHP的工作方式。 In order to change the
php.ini
in MAMP Pro you must go to file > Edit Template > PHP > php.ini
. 为了在MAMP Pro中更改
php.ini
,您必须转到file > Edit Template > PHP > php.ini
。 After changing this file you should restart MAMP and your changes should work. 更改此文件后,您应该重新启动MAMP,并且所做的更改应该起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.