The apache2 configtest failed. Segmentation fault (core dumped) Action 'configtest' failed
apache, linux, php-7, ubuntu
Solution
The problem may occur if you have installed php5.6 and php7. Run:
sudo a2dismod php7.0
sudo service apache2 restart
Problem
The apache2 configtest failed. Output of config test was: ``` 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 ```