Error uploading big extensions to joomla on a localhost

可紊 提交于 2019-12-25 16:55:49

问题


I get the following error when I tried uploading the Akeeba Backup extension on my localhost: "There was an error uploading this file to the server."

I tried uploading JCE Editor and it worked fine. I understand this error appears because I cannot upload extensions bigger than X MB (JCE is 1,5MB and Akeeba is 2,25MB). So my guess is I cannot upload extensions bigger than 2MB.

Researching I came across two solutions, neither worked for me.

First solution: In the file ini.php find the following line upload_max_filesize = xM and replace "x" with a value of 10 (for example). I could not find the above mentioned line in the ini.php file.

Second solution: In your .htaccess add the following:

php_value max_upload_size 10M

added the code, nothing happened.

I am using Joomla 3.2


回答1:


Rather than trying to manually find the correct line to edit, in your code editor, use Ctrl + F which will open up the "find" box. Copy and paste upload_max_filesize and click "find". This will take you to the exact line where it is located. Once changed, save the file and restart Apache/All services on your localhost.



来源:https://stackoverflow.com/questions/21411896/error-uploading-big-extensions-to-joomla-on-a-localhost

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