我在 ubuntu 16.04 中遇到了同样的问题。当我启用 libapache2-mod-ruid2 时,我的 apache 错误日志中出现以下错误:
[Tue May 31 10:53:07.681923 2016] [core:notice] [pid 7534] AH00051: child pid 14349 exit signal Aborted (6), possible coredump in /etc/apache2
[Tue May 31 10:53:08.687104 2016] [core:notice] [pid 7534] AH00051: child pid 14348 exit signal Aborted (6), possible coredump in /etc/apache2
[Tue May 31 10:53:13.692622 2016] [core:notice] [pid 7534] AH00051: child pid 14415 exit signal Aborted (6), possible coredump in /etc/apache2
网站没有给我任何回应。
我总是将 mod_ruid2 与 mod_php 一起使用,以便以服务器所有者的身份提供 php 内容。禁用 mod_ruid2 后,mod_php 可以正常工作。有人能确认我不是唯一遇到此问题的人吗?
我已加载的 Apache 模块是:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
http2_module (shared)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
php7_module (shared)
setenvif_module (shared)
socache_shmcb_module (shared)
ssl_module (shared)
status_module (shared)
我启用的 php 模块是
[PHP Modules]
calendar
Core
ctype
date
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pgsql
Phar
posix
readline
Reflection
session
shmop
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
更新:
这似乎是由我安装的 http2 模块引起的。当我禁用 http2 时,它工作正常。