Friday, September 20, 2024

Improved performance of my d7.9 localhost installation.(php.ini & my.ini)

 improved performance of my d7, D9 localhost installation. For some reason, on my installation,

my.ini

[mysqld]

port = 3306
socket = /tmp/mysql.sock
skip-locking
key_buffer = 384M
max_allowed_packet = 64M
table_cache = 4096
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 64M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M

INNODB SPECIFIC

innodb_buffer_pool_size = 384M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 10M
innodb_log_buffer_size = 64M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 180


php.ini

upload_max_filesize = 10M
post_max_size = 10M

No comments:

Post a Comment

If you have any problem please let me know.