wickedstangs
Well-known member
>httpd -v
--
root@host [~]# httpd -v
Server version: Apache/2.2.21 (Unix)
Server built: Nov 15 2011 15:41:01
Cpanel::Easy::Apache v3.7.1 rev9999
--
>php -v
--
root@host [~]# php -v
PHP 5.2.17 (cli) (built: Nov 15 2011 15:46:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
--
>cat /etc/my.cnf
--
root@host [~]# cat /etc/my.cnf
[mysqld]
local-infile=0
set-variable = max_connections=500
safe-show-database
max_tmp_tables=1
query_cache_type=1
query_cache_limit=2M
query_cache_size=128M
thread_cache_size=4
table_cache=256
max_allowed_packet=16M
innodb_lock_wait_timeout=100
--
I have optimized the following MySQL parameters for optimum performance.
---
query_cache_limit=4M
query_cache_size=128M
tmp_table_size=32M
max_heap_table_size=32M
interactive_timeout=120
wait_timeout=120
--
root@host [~]# httpd -v
Server version: Apache/2.2.21 (Unix)
Server built: Nov 15 2011 15:41:01
Cpanel::Easy::Apache v3.7.1 rev9999
--
>php -v
--
root@host [~]# php -v
PHP 5.2.17 (cli) (built: Nov 15 2011 15:46:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
--
>cat /etc/my.cnf
--
root@host [~]# cat /etc/my.cnf
[mysqld]
local-infile=0
set-variable = max_connections=500
safe-show-database
max_tmp_tables=1
query_cache_type=1
query_cache_limit=2M
query_cache_size=128M
thread_cache_size=4
table_cache=256
max_allowed_packet=16M
innodb_lock_wait_timeout=100
--
I have optimized the following MySQL parameters for optimum performance.
---
query_cache_limit=4M
query_cache_size=128M
tmp_table_size=32M
max_heap_table_size=32M
interactive_timeout=120
wait_timeout=120