Trent Posted October 12, 2011 Posted October 12, 2011 I am currently hamstrung by the 2M limit on php file uploads. I've searched the forums and found several suggestions for mods to my .htaccess file in the directory where my app is installed, but none solve my problem. Since all those posts were a tad dated, I was hoping someone would be able to offer another suggestion. I've tried, in various combinations, the following: php_value upload_max_filesize 10M [also tried using 10000000 in lieu of "10M"] php_value post_max_size 110000000 php_value max_input_time 300 php_value max_execution_time 800 Any ideas? Thanks!! Quote
TCH-Alex Posted October 12, 2011 Posted October 12, 2011 Welcome to the forums Trent I would suggest to use a local php.ini file with the following entry, than using .htaccess if you are hosted on any of our shared servers. upload_max_filesize = 10M post_max_size = 10M max_input_time = 300 max_execution_time = 800 php.ini files are directory dependent, adding a php.ini to public_html will NOT affect directories below public_html. To configure a site wide php.ini, create it in the users root directory(/home/user/) and add the following line to /home/user/public_html/.htaccess file; <IfModule mod_suphp.c> suPHP_ConfigPath /home/user </IfModule> If you found any issues or having any difficulties, just submit a ticket to the help desk. Quote
jtvolpe Posted January 10, 2013 Posted January 10, 2013 I just tried to follow this procedure and it didn't work for me. The post_max_size changed correctly, but the upload_max_filesize did not change from the 2M limit. Any suggestions ? Quote
TCH-Alex Posted January 10, 2013 Posted January 10, 2013 Please make sure that you didn't have another php.ini file anywhere on your account. If nothing is working, please feel free to open a ticket to the help desk. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.