Upload heavy images to the server with DropZone and laravel

0

hi friends I'm working with Larvel 5.5 and Dropzone, the problem is this, DropZone does not allow me to upload images larger than 2MB, I proceed to change the property maxFilesize: 100 but it does not work,

attached images of the code

View

code in the controller

    
asked by Javier Jfcm 05.11.2017 в 23:42
source

1 answer

-1

The constraint in this case is being defined by the PHP configuration file: php.ini, you must edit it and change the following variables: 1) nano /etc/php/7.0/apache2/php.ini 2) Change: post_max_size = 100M upload_max_filesize = 100M

    
answered by 10.11.2017 в 21:22