最大文件大小php服务器 [英] Max File Size php server

查看:85
本文介绍了最大文件大小php服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将wamp用作测试服务器,并且尝试上传视频时,出现错误代码1,这是一个错误消息,指出我的最大文件大小很小。我将php.ini设置更改为

I am using wamp as my test server and when trying to upload videos I am getting an error code 1 which is an error saying that my max file size is to small. I changed my php.ini settings to

; Maximum allowed size for uploaded files.

upload_max_filesize = 700000000000000000M

我改变了我的htacess文件,这样说。

and i changed my htacess file to say this ..

RewriteEngine On
php_value post_max_size 1000000000000000000M
php_value upload_max_filesize 1000000000000000000M
php_value max_execution_time 60000000000000

所以有足够的空间我不明白为什么我仍然会收到此错误..在此先感谢帮助。

So there is plenty of room I don't understand why i still get this error .. Thanks in advance for the help.

推荐答案

确定要在编辑php.ini文件后重新启动Apache吗?

Were you sure that you restarted Apache after you edited the php.ini file?

Apache在启动时会加载php.ini,因此,如果您在不重新启动Apache的情况下进行了更改,则更改将不会生效。

Apache loads the php.ini on start so if you made changes without restarting Apache the changes will not take effect.

这篇关于最大文件大小php服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆