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.
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
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 😉
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
(Before save file stop your Apache server)