RE: Upload size limit stays at 8MB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

There is also an option for post_max_size = xM
x being the number specified.
This should be located in your php.ini file somewhere. check to make sure that this is set high enough else it could also be causing the issue.



> To: php-general@xxxxxxxxxxxxx
> Date: Thu, 5 May 2011 21:51:26 -0700
> From: jimoe@xxxxxxxxxxxxxx
> Subject:  Upload size limit stays at 8MB
> 
> Hello,
>   apache v2.2.15 (Linux/SUSE)
>   php    v5.3.3
>   linux  v2.6.34.7-0.7-desktop #1 SMP
> 
>   I updated </etc/php5/apache2/php.ini> to change
> upload_max_filesize = 2M
> to
> upload_max_filesize = 60M.
>   php_info() shows the changed value; "echo
> ini_get(upload_max_filesize)" shows the changed value. Yet when I
> attempt an upload, I get this in the error log:
> 
> PHP Warning:  POST Content-Length of 39246714 bytes exceeds the limit of
> 8388608 bytes in Unknown on line 0, referer: http://www.sma.com/sma/upload/
> 
>   Hmm. "Unknown on line 0"? A bit vague.
>   8MB max seems a bit less than the 60MB listed.
>   Where else could PHP be getting settings info?
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
 		 	   		  

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux