- Comment accroître la taille des download sous PHP ( donc WordPress)
- Tutos :
- http://www.wordpress-fr.net/support/sujet-101101-augmenter-taille-upload-fichiers-media
- essayé (sans succès) avec fichier .htacces
- 2 voies :
- PHP :
- /etc/php/8.3/fpm/php.ini [20/03/2026] via l’interface de gestion PHP du serveur
- ; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
#upload_max_filesize = 2M
upload_max_filesize = 25M - [05/05/2017] => Ne fonctionne pas seul => cf post_max_size : qui doit être aussi réglé.
- ; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
;post_max_size = 8M
post_max_size = 25M - Ne pas oublier d’appliquer les changements sur le serveur Apache (Restart)
- NE PAS OUBLIER DE VIDER LE CACHE du Browser (Firefox, Explore) avant de tenter un nouveau chargement d’image.
WordPress: fichier HTACCESS qui overide PHP.ini (08/03/2018)…../WordPress/.htaccessphp_value upload_max_filesize 350Mphp_value post_filesize 350M (celui qui est pris en compte pour le download média)
- PHP :