Max upload file size in php
Posted: October 24th, 2015, 9:49 am
I implemented php in .net project like explained here:
http://www.codeproject.com/Tips/1004596 ... SP-NET-MVC
It's all working nice but there is a problem, when uploading big image files, for example 7MB, there is an error:
"The upload size exceeds the max size allowed"
I think the problem is in the php runtime, how do I increase this value?
In config.php have
'MaxSizeUpload' => 100
But there must exist other config, I tried php.ini with this like sugested in other posts:
upload_max_filesize = 10M
post_max_size = 10M
but no sucess, in godaddy shared host.
http://www.codeproject.com/Tips/1004596 ... SP-NET-MVC
It's all working nice but there is a problem, when uploading big image files, for example 7MB, there is an error:
"The upload size exceeds the max size allowed"
I think the problem is in the php runtime, how do I increase this value?
In config.php have
'MaxSizeUpload' => 100
But there must exist other config, I tried php.ini with this like sugested in other posts:
upload_max_filesize = 10M
post_max_size = 10M
but no sucess, in godaddy shared host.