skip to Main Content

I want to install SEOMATIC extension for SEO in opencart varsion 2.0.2.0 but when i tried to uplaod the zip file via extension installer showing this message.

enter image description here

And my php.ini config file is

magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 64M;
max_execution_time = 36000;
upload_max_filesize = 999M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_only_cookies = On;
session.use_trans_sid = Off;
session.cookie_httponly = On;
session.gc_maxlifetime = 3600;
allow_url_fopen = on;
;display_errors = 1;
;error_reporting = E_ALL;
;The next 3 lines
display_errors = 1;
error_reporting = E_ALL;
log_errors = 1;

2

Answers


  1. There could be a problem with the post_max_size directory.

    Set it to same as the upload_max_filesize

    post_max_size = 999M

    BUT I would not recommend this to be 999, Maximum 50M but it is up to you if you want to crash your server 😉

    Login or Signup to reply.
  2. If you are using XAMPP, Wamp or MAMP, you will find the php.ini in following locations.

    For XAMPP users

    Windows: C:/xampp/php/php.ini

    macOS: /private/etc/php.ini

    Linux: /etc/php.ini

    Find this line in it upload_max_filesize=2M (line number 838)

    default uploading file size is 2 megabytes in XAMPP, so change size you want,
    (if your file size is 3 megabytes)
    change parameter

    upload_max_filesize=4M
    

    (Before save file stop your Apache server)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search