Forum Moderators: coopster
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
first thing I looked at was whether those all could be set in htaccess, which they can as below. Not that I didn't believe you, I just forget stuff. ;) Some changed over different versions though.
from
[php.net...]
max_execution_time - PHP_INI_ALL
has always been PHP_INI_ALL
upload_max_filesize - PHP_INI_PERDIR
PHP_INI_ALL in PHP <= 4.2.3.
post_max_size - PHP_INI_PERDIR
Note: PHP_INI_SYSTEM in PHP <= 4.2.3. Available since PHP 4.0.3.
I have had problems with this myself and I am trying to remember the setting that was killing me, though we were working directly with httpd.conf and php.ini
other things I see when looking at that list
max_input_time available since 4.3.0 - haven't really messed with this one
thats all I can think of I will try and look tomorrow when I am at work where I had issues
<FilesMatch somefile.html>
php_value post_max_size "40M"
php_value upload_max_filesize "40M"
</FilesMatch>
;)