Re: upload_max_filesize
| From: | David Robley | Date: | Wed, 25 Jan 2006 04:52:17 +0000 |
| Subject: | Re: upload_max_filesize | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229211@lists.php.net to get a copy of this message | ||
Daniel Lahey wrote:
> 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
Have you checked the value for MAX_FILE_SIZE in the upload form?
Cheers
--
David Robley
Someone threw a beer at Clinton. He dodged it. No doubt a draft.