digiah / 2do

the working to do list
1 stars 2 forks source link

Changing max file upload size in php.ini (for phpMyadmin) #76

Closed damg70 closed 9 years ago

damg70 commented 9 years ago

go to /etc/php.ini

memory_limit post_max_size upload_max_filesize

  1. Search for entry post_max_size = 2M where you need to enter a larger number than the size of MAPACA's tables.

_dighum_music_bibliodate 4MB _dighum_music_bibliopublisher 50K _dighum_music_bibliotitle 50K _dighum_music_citation 60MB _dighum_music_citation-content sorter 18.3MB _dighum_music_location 4.8MB _dighum_music_region 2.5K _dighum_music_region-old 32K _dighum_music_subject 5.5MB _dighum_music_subjectbiblio 19.3MB

  1. next edit memory_limit and give a larger number than the one given to post_max_size
  2. At last, edit the entry upload_max_filesize with a value smaller than post_max_size

Restart apache Restart Apache Services

damg70 commented 9 years ago

Done... but have to test import itself. phpMyadmin is correctly reporting the increased file size limit.