Post by sfaragy » Thu Sep 02, 2021 2:11 pm

If you want to increase the physical memory allocation for your OpenCart project then please follow the following instructions:
If your server contains 8GB RAM space and almost useless. Try to allocate more memory easily by OpenCart php.ini file.
In your root folder please edit php.ini file with your best editor.

Replace the file content

Remove these following lines:


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.auto_start = Off
session.use_only_cookies = On
session.use_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

Add these lines:
magic_quotes_gpc = Off
register_globals = Off
default_charset = UTF-8
;This memory limit will limit the memory uses.
memory_limit = 2048M
max_execution_time = 36000
upload_max_filesize = 999M
safe_mode = Off
mysql.connect_timeout = 20
session.auto_start = Off
session.use_only_cookies = On
session.use_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

Done!

Please contact us for any kind of module / extension/ theme development or customization, any kind of API integration, payment gateway integration, shipping method integration.

Thanks & regards
Md Soliman Faragy (sfaragy)
Skype: solimanbd4321
email: solimankhulna@gmail.com
https://www.bangloss.com
Image


User avatar
Newbie

Posts

Joined
Tue Jul 16, 2013 2:41 pm
Location - Bangladesh
Who is online

Users browsing this forum: No registered users and 3 guests