Hi-

I'm upgrading some scripts from php3 to 4.0.3pl1 that live on a shared server. I don't have access to php.ini, so any changes I make to directives need to be done through .htaccess. I can't seem to change the setting for post_max_size at all and it's hanging me up. File uploads all stop at 8mb now, but they need to be as large as 100mb. Here's how htaccess looks:


AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php3
php_value post_max_size 104857600
php_value upload_max_filesize 104857600
php_value memory_limit 104857600
php_value max_execution_time 240
php_value file_uploads 3
php_flag magic_quotes_gpc off


Anyone see any problems with this? or is post_max_size maybe just not customizable, meaning i need to look for a new ISP?

Any insights would be helpful.

Thanks

    Actually I went over this with my server admin just last week. He tried setting the limit in an htaccess file and was unable to get it to work. Ultimately it had to go in the web server config.

      yeah, that's what I'm afraid of. My ISP is not what you would call responsive to customer requests. Also, it kind of sucks that I can't customize my environment as it relates to file uploads. I'm pretty much stuck with whatever bandwidth the sysadmin says I can get.

      thanks

        Write a Reply...