apache2 configtest失败。
配置测试的输出为:

Segmentation fault (core dumped)
Action 'configtest' failed.
The Apache error log may have more information.
------------------------------------------------
Error logs:-

 [mpm_prefork:notice] [pid 30111] AH00163: Apache/2.4.23 (Ubuntu) configured -- resuming normal operations
 [core:notice] [pid 30111] AH00094: Command line: '/usr/sbin/apache2'
 [mpm_prefork:notice] [pid 30111] AH00169: caught SIGTERM, shutting down

最佳答案

如果您已经安装了php5.6和php7,则可能会出现此问题。运行:

sudo a2dismod php7.0
sudo service apache2 restart

希望对您有所帮助!

关于linux - apache2 configtest失败。段错误(核心已转储)操作 'configtest'失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/40241845/

10-12 12:52