User Tools

Site Tools


informatica:servidor_internet_2009

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
informatica:servidor_internet_2009 [2022/11/07 16:38]
miquel [La grandària màxima per pujar fitxers ha disminuït - Novembre de 2022]
informatica:servidor_internet_2009 [2022/11/08 10:55]
miquel [La grandària màxima per pujar fitxers ha disminuït - Novembre de 2022]
Line 174: Line 174:
 <code> <code>
 # grep -e "memory_limit" -e "upload_max_filesize" -e "post_max_size" /etc/php/*/apache2/php.ini # grep -e "memory_limit" -e "upload_max_filesize" -e "post_max_size" /etc/php/*/apache2/php.ini
-/etc/php/5.6/apache2/php.ini:post_max_size = 2500M +/etc/php/5.6/apache2/php.ini:memory_limit = 256M 
-/etc/php/5.6/apache2/php.ini:upload_max_filesize = 2600M +/etc/php/5.6/apache2/php.ini:post_max_size = 2150M 
-/etc/php/7.3/apache2/php.ini:post_max_size = 2500M +/etc/php/5.6/apache2/php.ini:upload_max_filesize = 2060M 
-/etc/php/7.3/apache2/php.ini:upload_max_filesize = 2600M + 
-/etc/php/8.1/apache2/php.ini:post_max_size = 2500M +/etc/php/7.3/apache2/php.ini:memory_limit = 128M 
-/etc/php/8.1/apache2/php.ini:upload_max_filesize = 2600M+/etc/php/7.3/apache2/php.ini:post_max_size = 2150M 
 +/etc/php/7.3/apache2/php.ini:upload_max_filesize = 2060M 
 + 
 +/etc/php/8.1/apache2/php.ini:memory_limit = 128M 
 +/etc/php/8.1/apache2/php.ini:post_max_size = 2150M 
 +/etc/php/8.1/apache2/php.ini:upload_max_filesize = 2060M 
 +</code> 
 + 
 +i en el fitxer de configuració d'Apache ''/etc/apache2/sites-enabled/sermn_uab_cat-3-https.conf'' afegeixo 
 + 
 +<code apache> 
 +#### File upload limit set to 2200 MBytes 
 +LimitRequestBody 2306867200
 </code> </code>
  
Line 186: Line 198:
   * un fitxer de 200 MB es transfereix en aprox. 22 segons   * un fitxer de 200 MB es transfereix en aprox. 22 segons
   * un fitxer de 400 MB es transfereix en aprox. 48 segons   * un fitxer de 400 MB es transfereix en aprox. 48 segons
-  * un fitxer de 600 MB es transfereix en aprox. 72 segons +  * un fitxer de 600 MB es transfereix en aprox. 1:17 minuts 
-  * un fitxer de 800 MB es transfereix en aprox. 100 segons +  * un fitxer de 800 MB es transfereix en aprox. 1:50 minuts 
-  * un fitxer de 1024 MB (1 GB) es transfereix en aprox. xx segons +  * un fitxer de 1024 MB (1 GB) es transfereix en aprox. 2:10 minuts 
-  * un fitxer de 2048 MB (2 GB) es transfereix en aprox. xx segons+  * un fitxer de 2048 MB (2 GB) es transfereix en aprox. 4:13 minuts 
 + 
 +==== Referències ==== 
 + 
 +  * [[https://kinsta.com/knowledgebase/the-uploaded-file-exceeds-the-upload_max_filesize-directive-in-php-ini/ | How to Fix the uploaded file exceeds the upload_max_filesize directive in php.ini Error.]] 
 +    * [[https://www.php.net/manual/en/ini.core.php#ini.post-max-size | PHP Manual - post_max_size]] 
 +    * [[https://www.php.net/manual/en/features.file-upload.common-pitfalls.php | PHP Manual - Common Pitfalls]] 
 +  * [[https://support.cpanel.net/hc/en-us/articles/6994682816023-Requested-content-length-is-larger-than-the-configured-limit-of-1073741824-Apache-2-4-54-413-error-code- | Requested content-length is larger than the configured limit of 1073741824 ( Apache 2.4.54 , 413 error code ) – cPanel]] 
 +    * [[https://httpd.apache.org/docs/2.4/mod/core.html#limitrequestbody | limitrequestbody - core - Apache HTTP Server Version 2.4.]]
  
-===== Referències ===== 
  
-* [[https://www.php.net/manual/en/ini.core.php#ini.post-max-size | PHP Manual - post_max_size]] 
-* [[https://www.php.net/manual/en/features.file-upload.common-pitfalls.php | PHP Manual - Common Pitfalls]] 
-* [[https://kinsta.com/knowledgebase/the-uploaded-file-exceeds-the-upload_max_filesize-directive-in-php-ini/ | How to Fix the uploaded file exceeds the upload_max_filesize directive in php.ini Error.]] 
  
  
informatica/servidor_internet_2009.txt · Last modified: 2022/11/28 15:11 by miquel