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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to