Author Topic: php.ini on AbanteCart V.1.4.1  (Read 5041 times)

Offline G. O.

  • Full Member
  • ***
  • Posts: 127
  • Karma: +9/-0
    • View Profile
php.ini on AbanteCart V.1.4.1
« on: January 23, 2025, 08:03:58 AM »
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
Thank you...
G.O.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6070
  • Karma: +284/-2
    • View Profile
Re: php.ini on AbanteCart V.1.4.1
« Reply #1 on: January 23, 2025, 08:10:28 AM »
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.

 

Powered by SMFPacks Social Login Mod