1

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

You can try with one of this options:

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

upload_max_filesize=64M
post_max_size=64M

Also you can increase this value
max_execution_time=300

  • 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

Regards.

  • 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. – Splendid Digital Solutions Apr 8 '16 at 10:15
  • You should rename your file htaccess.txt to .htaccess – AlejandroVega Apr 9 '16 at 5:40
  • So, the same is possible through ftp and not c-panel? – Splendid Digital Solutions Apr 9 '16 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. – AlejandroVega Apr 9 '16 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? – Splendid Digital Solutions Apr 11 '16 at 14:38
2

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, privacy policy and cookie policy

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