Configuracions recomanades de PHP per treballar amb fitxers a Drupal 7, especialment si utilitzem fitxers privats que gestiona el mòdul de PHP i no l'Apache directament.
file_uploads = On must be set to "On"
upload_max_filesize = 24M can't be larger than post_max_size
max_input_time = 300 small values may cause timeouts for large file uploads
memory_limit = 64M small values may cause out of memory errors for large file uploads
max_execution_time = 180 small values may cause timeouts for large file uploads
post_max_size = 24M limits the size of input submitted to the website (including attached files)
Ho podem configurar a /etc/php5/apache2/php.ini i després caldrà reiniciar el servidor service apache2 reload.
Cap comentari:
Publica un comentari a l'entrada