PHP is not loaded as a module of Apache
<p>I'm currently developing a web page with <strong><em>PHP</em></strong>, and I had to install <strong>Pthread</strong> extension, I made it in the server (Ubuntu 14) so, before I had all working well, the problem came when I installed the extension, to install this extension I had to compile the php to make the needed configurations of PHP. Now, when I open a simple page, apache shows me the php code, it means that php is not interpreting or is not loaded in the modules of apache.</p>

<p>I went to <code>/etc/apache2/mods-enabled</code> but there's nothing of PHP, but in the linux terminal PHP is working well (so, it's installed). then I made:</p>

<pre><code>sudo a2enmod php5
</code></pre>

<p>And I get this response:
    ERROR: Module php5 does not exist!</p>

<p>then , I made:</p>

<pre><code>a2query -m php5
</code></pre>

<p>but I get:</p>

<pre><code>No module matches php5
</code></pre>

<p>I have installed PHP 5.6version, so how can I enable this module in apache. I cannot install the standar version of PHP, I need this one for the mentioned reason. Thanks!</p>