Jump to content

Recommended Posts

Posted

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!!

Posted

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.

  • 1 year later...
Posted

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 ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...