Updating upload_max_filesize in joomla

孤街醉人 提交于 2019-12-14 03:01:22

问题


I am using frame work Joomla1.5. I am not able to submit form with multiple uploaded files having each file size more than 3mb. i tried to set post_max_size, upload_max_size parameters in layout default.php(views/tmpl/default.php) as

ini_set('upload_max_filesize', '5M');
ini_set('post_max_size', '15M');

but that parameters still showing default sizes only. can you please tell me where/how to set value in joomla

Thanks in advance


回答1:


You can set the maximum upload size in joomla from admin panel. You have to go site -> Global configuration -> System->Maximum Size (in bytes).




回答2:


Find the php.ini file that your server uses and change the 'upload_max_filesize' value to a higher number and restart the server.



来源:https://stackoverflow.com/questions/6622652/updating-upload-max-filesize-in-joomla

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!