Cambiar el fichero de configuración de php para subir ficheros más grandes


/ Published in: PHP
Save to your folder(s)

Hay que tocar esto en php.ini
En mac hay que copiar /etc/php.ini.default a /etc/php.ini y tocar ese


Copy this code and paste it in your HTML
  1. ;;;;;;;;;;;;;;;;;
  2. ; Data Handling ;
  3. ;;;;;;;;;;;;;;;;;
  4.  
  5. post_max_size = 200M
  6.  
  7. ;;;;;;;;;;;;;;;;
  8. ; File Uploads ;
  9. ;;;;;;;;;;;;;;;;
  10.  
  11. ; Whether to allow HTTP file uploads.
  12. file_uploads = On
  13.  
  14. ; Temporary directory for HTTP uploaded files (will use system default if not
  15. ; specified).
  16. ;upload_tmp_dir =
  17.  
  18. ; Maximum allowed size for uploaded files.
  19. upload_max_filesize = 200M

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.