News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

php.ini on AbanteCart V.1.4.1

Started by G. O., January 23, 2025, 08:03:58 AM

Previous topic - Next topic

G. O.

Hello guys!

how do you rating next php.ini on AbanteCart V.1.4.1 code:



text/x-generic php.ini ( ASCII text )
; Use this file for specific PHP settings on your server required for AbanteCart.

; General PHP Settings
output_buffering = 4096
magic_quotes_gpc = Off
register_globals = Off
default_charset = UTF-8
memory_limit = 256M
max_execution_time = 18000
upload_max_filesize = 100M
post_max_size = 100M
max_input_vars = 5000
max_input_time = 300

; Error Handling and Logging
display_errors = Off
log_errors = On
error_log = /var/log/php_errors.log
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

; Session Settings
session.use_cookies = On
session.use_trans_sid = Off
session.gc_maxlifetime = 12000000
session.cookie_httponly = On
session.cookie_secure = Off ; Change to On if using HTTPS
session.cookie_lifetime = 0

; MySQL Settings
mysql.connect_timeout = 256
mysqli.reconnect = On

; APC and OPcache
apc.enabled = 0
opcache.enable = 1
opcache.memory_consumption = 128
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60
opcache.fast_shutdown = 1

; File Uploads
file_uploads = On
upload_tmp_dir = /tmp

; Security Settings
expose_php = Off
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
allow_url_fopen = Off
allow_url_include = Off

; Timezone
date.timezone = write here your timezone

Basara

Hello.

Your question seems to be more related to server administration rather than AbanteCart. However, I believe that opcache should be disabled, and the MySQL and PHP max_execution_time settings are too high.

Forum Rules Code of conduct
AbanteCart.com 2010 -