As I try to install AdsManager extension through Upload Package File option, getting the Error:

There was an error uploading this file to the server. Maximum PHP file upload size is too small: This is set in php.ini in both upload_max_filesize and post_max_size settings of your PHP settings (located in php.ini and/or .htaccess file).

Do I need to edit php.ini settings as instructed above or is there a quicker, better way to download this extension?


2 Answers 2


You can try with one of this options:

  • If you have access to your php.ini, change the values and restart your webserver:


Also you can increase this value

  • If you don't have access to this file, you can add this values in your .htaccess file

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300


  • Adding the above 3-line code into htaccess.txt file (I did it through C Panel File Manager, GoDaddy (splendidjoomla.blogspot.in/2016/04/…)? Not successful as trying to install shows the same error message. Apr 8, 2016 at 10:15
  • You should rename your file htaccess.txt to .htaccess Apr 9, 2016 at 5:40
  • So, the same is possible through ftp and not c-panel? Apr 9, 2016 at 12:42
  • Yes, download the htaccess.txt via FTP, add the code, save, rename the file to .htaccess and upload the file again via FTP, replace the old file with the new file. Apr 9, 2016 at 17:22
  • While working with htaccess.txt and .htaccess somewhere messed and now the site is showing 500 Internal Server Error. Is there any standard htaccess.txt and .htaccess script which I can fresh upload to restore the website? Apr 11, 2016 at 14:38

Install from Folder Installation Method

If unable to update the PHP limitations via php.ini or .htaccess, an alternative install method is to expand the extension installation file into a folder on your local machine e.g. /adsmanager and then upload this folder via FTP to the /tmp or similar folder in your Joomla install.

Go to Extensions -> Manage -> Install in the back-end, click on the "Install from Folder" tab, enter the location of your install folder and click on "Install" as in the following example:

Install from Folder

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.