问题
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