Results 1 to 3 of 3
Mar 11, 2013, 05:27 #1
- Join Date
- Feb 2011
- 0 Post(s)
- 0 Thread(s)
Big size file upload problem in PHP
My server has CentOS, Apache and PHP.
I have set all required parameters in php.ini to handle big size file uploads (post_max_size, memory_limit, timeouts etc.)
But, still the script doesn't accept a file more than 5MB. On bigger uploads, it returns error 7 (Unable to write to disk).
I have set 777 permissions on my temporary folder (/opt/php) and during upload, I do see temporary file through my FTP. But, once it reaches 5MB, temporary file disappears and script shows error 7.
I increased timeout value in httpd.conf and set following too,
<Directory "/opt/php"> LimitRequestBody 10485760 </Directory>