201601.25
Désactivé
0

php.ini additions

upload_max_filesize = 1500M
max_input_time = 1000
memory_limit = 640M
max_execution_time = 1800
post_max_size = 2000M
log_errors = off
display_errors = on
error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT

Et dans le code :

error_reporting(E_ALL);
ini_set('display_errors', 1);

Pour Mailers

Edit the lines below and change 2M to 50M:

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 50M

; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 50M

Pour phpmyadmin

https://askubuntu.com/questions/487644/how-to-increase-phpmyadmin-upload-file-size

php.ini configuration file :

max_execution_time

upload_max_filesize, memory_limit

post_max_size


Please note that post_max_size needs to be larger than upload_max_filesize.


nano /etc/php/7.0/apache2/php.ini

memory_limit = 1500MB 
post_max_size = 1500MB 
upload_max_filesize = 1500MB
service apache2 restart