Forum Moderators: phranque

Message Too Old, No Replies

php_value post_max_size not affecting anything

php_value post_max_size not working

         

kvnband

5:22 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



Well, I am trying to increase the upload limits for my photo album directory. I have users trying to upload 20MB videos, and they keep getting an error. The content of my .htaccess is

php_value max_execution_time 600
php_value upload_max_filesize 40M
php_value post_max_size 40M

max execution time is high because when doing an upgrade, the server had to move roughly 40,000 files around. I didn't want the script to time out on me. Anyway, the max execution time and upload max filesize are both working, because I look at the phpinfo placed in that directory and they are reflecting the correct values. However, the post_max_size still says 8M instead of the 40M that I have set. Any idea why one would take and the other wouldn't?
Kevin

jdMorgan

2:56 am on Jul 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



kvnband,

Welcome to WebmasterWorld!

You might want to ask about this in the PHP forum too, since there are more PHP folks over there.

Jim

kvnband

3:41 am on Jul 29, 2005 (gmt 0)

10+ Year Member



thank you, I will post there as well.
Kevin