Salve a tutti, spero di essere nella sezione giusta.
Vi spiego il mio problema. Devo fare una modifica al file .htaccess per aumentare la quantità di mb per fare degli upload.
Dunque la situazione è questa:
i primi due valori dovrei portarli a 999M.Codice:Upload Max Filesize 10M Post Max size 10M Memory Limit 90M Max Execution Time 30
il codice è il seguente da modificare è il seguente:
Mi è stato detto di fare questa modifica per aumentare quei valori:Codice:# Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "\.(tpl|ini|log)"> Order deny,allow Deny from all </FilesMatch> ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have problem installing packs # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have problem installing packs # php_value max_execution_time 18000 # 6. set max time for input to be recieved. uncomment this line if you have problem installing packs # php_value max_input_time 200
ovvero mi è stato detto di levare i cancelletto da alcune righe, dopodichè con filezilla rimettere il file online.Codice:# Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "\.(tpl|ini|log)"> Order deny,allow Deny from all </FilesMatch> ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: php_flag magic_quotes_gpc off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have problem installing packs php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have problem installing packs php_value max_execution_time 18000 # 6. set max time for input to be recieved. uncomment this line if you have problem installing packs php_value max_input_time 200
Dunque io ho fatto tutto ma il problema è che quei due valori non cambiano. Allora mi hanno suggerito di chiedere al mio "hosting provider" che presumo sia altervista ( scusate l'ignoranza)
Voi che dite? avete consigli ?

LinkBack URL
About LinkBacks


