Max File Size php server

孤街醉人 提交于 2019-12-23 06:17:05

问题


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

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.


回答1:


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

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



来源:https://stackoverflow.com/questions/11853535/max-file-size-php-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!