upload_max_filesize
| From: | Daniel Lahey | Date: | Wed, 25 Jan 2006 04:33:15 +0000 |
| Subject: | upload_max_filesize | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229210@lists.php.net to get a copy of this message | ||
A client has started experiencing problems with uploading files larger than the default 2M set in php.ini. The problem only started occurring a few weeks or so ago, and I cannot figure out how to get around it. I have a php.ini file in the /public_html folder that reads:
post_max_size 8388608
upload_max_filesize 8388608
I've also tried peppering the code with calls to ini_set('upload_max_filesize', '8388608'); In desparation, I've also tried a .htaccess file that reads:
<IfModule mod_php5.c>
php_value upload_max_filesize 8388608</IfModule> <IfModule mod_php4.c>
php_value upload_max_filesize 8388608</IfModule> Nothing seems to work. This didn't used to be a problem. I can upload files smaller than 2M just fine. Any ideas? TIA