我已经用这个升级到mysql 5.7MySQL 5.5 升级至 MySQL 5.7
从那时起,我们在所有托管网站上都收到 500 错误,并且 apache2 错误日志包含
[Thu Jul 07 03:52:24.807409 2016] [core:notice] [pid 1624] AH00051: child pid 11486 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:32.819761 2016] [core:notice] [pid 1624] AH00051: child pid 11482 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:32.819853 2016] [core:notice] [pid 1624] AH00051: child pid 11489 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:35.824422 2016] [core:notice] [pid 1624] AH00051: child pid 11490 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:42.833487 2016] [core:notice] [pid 1624] AH00051: child pid 11493 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:46.839680 2016] [core:notice] [pid 1624] AH00051: child pid 11494 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:52.847820 2016] [core:notice] [pid 1624] AH00051: child pid 11495 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:52:56.852889 2016] [core:notice] [pid 1624] AH00051: child pid 11498 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:53:06.864664 2016] [core:notice] [pid 1624] AH00051: child pid 11500 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:53:07.867806 2016] [core:notice] [pid 1624] AH00051: child pid 11504 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:53:35.899735 2016] [core:notice] [pid 1624] AH00051: child pid 11506 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Jul 07 03:53:39.906559 2016] [core:notice] [pid 1624] AH00051: child pid 11509 exit signal Segmentation fault (11), possible coredump in /etc/apache2
服务器配置:Ubuntu 14.04、Mysql:5.7、PHP 5.5.9、Apache 2.4.7
答案1
检查分配给内存限制还检查php.ini
内存分配后缀:
正确的:
memory_limit = 128M
不正确:
memory_limit = 128