DEBIAN PRO

DEBIAN PRO
DEBIAN

lunes, 1 de octubre de 2012

Moodle y subida de ficheros.


Para los que trabajamos con Moodle, y necesitamos subir ficheros de mas de 2 MB (límite de la versión original), hay que tocar el fichero PHP.INI, poniendo estos valores.


upload_max_filesize = 100M
post_max_size = 100M

(en este caso para llegar hasta los 100 megas)

Recordar luego reiniciar el Apache.




Un post mas detallado para UBUNTU es:


Editar php.ini ubicado en /etc/php5/apache2/

Type "sudo nano /etc/php5/apache2/php.ini"
Press Ctrl and W and type "post_max_size"
Change the value to the number of Mb you want your site to accept as uploads
Press Ctrl and W and type "upload_max_filesize"
Change the value to the number of Mb you want your site to accept as uploads
Press Ctrl and W and type "max_execution_time"
Change the value to 600
Press Ctrl and O
Press Ctrl and X
Type sudo /etc/init.d/apache2 restart

No hay comentarios:

Publicar un comentario