key_buffer = 200M
key_buffer_size = 1294963200
#max_join_size = 4294967295
max_join_size = 1294967295
max_allowed_packet = 1M
#table_open_cache = 512
table_cache = 512
sort_buffer_size = 2294967295
read_buffer_size = 2147479552
#write_buffer_size = 4294967295
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size= 16M
php错误Fatal error: Out of memory (allocated 262144) (tried to allocate 19456 bytes
php运行一段时候后出现错误:
php错误Fatal error: Out of memory (allocated 262144) (tried to allocate 19456 bytes
意思是说:致命错误,超出内存,已经分配allocated 262144,尝试分配19456 字节。
解决方法是修改php.ini,加大memory_limit
刚刚着实吓我一跳,html可以正常访问,php不行,我还以为是受攻击呢。