By deathgod on
hello guys,
I need help with my .htaccess, i want my upload_max_filesize to be 300MB but its just not working with the following:
# PHP 5, Apache 1 and 2
<IfModule mod_php5.c>
upload_max_filesize 300M
</IfModule>
but that is not doing the trick, anyway i think one problem might be that things are run through cgi instead of as a module....i'm a bit useless with .htaccess so could someone please help me
Thanks Nick
Comments
Try .. php_value
Try ..
php_value max_file_upload 300M
php_value max_execution_time 800
php_value upload_max_filesize 300M
php_value post_max_size 300M
www.jws.co.za/we_install_modify_and_maintain_drupal_web_sites
tried
tried....even with other values as well, its just not picking it up...also tried custom php.ini but thats giving me problems as well
------------------------------
If I kill you I will get health orbs
Naruto - Naruto Forums
You might be running into
You might be running into the limitations of your host. I think mine is about 20 MB, 1and1.com.
check your host's docs.
Also, try without the
(that's telling it to only run that command, if you have mod_php5.c)
http://www.google.com/search?q=upload_max_filesize
...hope that helps.
would be ironic if that is
would be ironic if that is the case because the reason most people choose them (dreamhost) is for their massive disk space 200GB
one last question before i go ploughing, does a .htaccess file overide a custom php.ini or the otherway round?
------------------------------
If I kill you I will get health orbs
Naruto - Naruto Forums
solved
I've managed to figure it out, .htaccess files with php_values did not work at all for me (think that dreamhost has disabled it or something but never asked). Anyway, i had to go the custom php.ini route, the first time i tried (long before this thread) i came across faulty instructions which bombed out. Now I tried again with a new set of instructions and managed get everything working (albeit there were some errors in the instructions but i have corrected them now). The instructions on how to create a custom php.ini should work on any host so give them a shot if you are trying to do the same thing. I'll see if I can add them to drupals docs but for now here is the link to the custom php.ini instructions
------------------------------
If I kill you I will get health orbs
Naruto - Naruto Forums
Create a custom php.ini - added to drupal docs
Create a custom php.ini
------------------------------
If I kill you I will get health orbs
Naruto - Naruto Forums