求教:如何改变apache/php上传文件大小的限制

由 hyoga 在 01-19-2003 20:10 发表:

求教:如何改变apache/php上传文件大小的限制

文件上载大小被限制了,在httpd.conf里面找不到如何设置:

[Sun Jan 19 20:06:02 2003] [error] [client 192.168.0.27] Requested content-lengt

h of 4141137 is larger than the configured limit of 524288, referer: http://192.

168.0.200/down/admin/edit.php


被国人毁了的四个词:同志,小姐,农民,黑客


由 dreamrise 在 01-19-2003 21:28 发表:


在你的/etc/php.ini文件里修改.

有一个选项:

upload_max_filesize = 2M

就改这个行了


由 hyoga 在 01-20-2003 08:00 发表:


dreamrise兄,no use啊。这个字段默认值就是2M,可是上面的提示说

the configured limit of 524288, 524K的。

我昨天就改了这个了,还有这里:

; Maximum size of POST data that PHP will accept.

post_max_size = 800M

都改了,还是没用。


被国人毁了的四个词:同志,小姐,农民,黑客


由 hyoga 在 01-20-2003 08:38 发

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus