在 joomla 中更新 upload_max_filesize

2022-01-06 00:00:00 php joomla

我正在使用框架 Joomla1.5.我无法提交包含每个文件大小超过 3mb 的多个上传文件的表单.我试图将布局 default.php(views/tmpl/default.php) 中的 post_max_sizeupload_max_size 参数设置为

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');

但该参数仍仅显示默认大小.你能告诉我在哪里/如何在joomla中设置值

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

提前致谢

推荐答案

找到您的服务器使用的 php.ini 文件并将 'upload_max_filesize' 值更改为更高的数字并重新启动服务器.

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

相关文章