Can't start Apache on Centos 7
<p>I installed apache with</p>

<pre><code>sudo yum install httpd
</code></pre>

<p>Than I try to start apache with</p>

<pre><code>sudo systemctl start httpd.service
</code></pre>

<p>But then I get the following error:</p>

<pre><code>Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
</code></pre>

<p>So I run</p>

<pre><code>systemctl status httpd.service
</code></pre>

<p>And I get the following message:</p>

<pre><code>httpd: Syntax error on line 51 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: /usr/lib/apache/mod_mpm_prefork.so: undefined symbol: ap_set_listencbratio
</code></pre>

<p>And I also run </p>

<pre><code>journalctl -xe
</code></pre>

<p>And I get: </p>

<pre><code>httpd: Syntax error on line 51 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf/extra/httpd-phpmodules.co
</code></pre>

<p>How can I solve this ? it's so frustrating </p>