title: Ubuntu 14.04, Apache 2.4.7, Phpbrew and PHP7 renders PHP files only as plain text
body: <p>I'm running Ubuntu 14.04 and need to run PHP7 locally alongside PHP5. I installed Phpbrew and all seems to have worked:</p>
  
  <pre><code>➜  ~ phpbrew list
  * php-7.0.6      
    php-5.6.21     
  </code></pre>
  
  <p>I did:</p>
  
  <p><code>sudo a2dismod php5</code></p>
  
  <p><code>sudo a2enmod php7</code></p>
  
  <p><code>sudo service apache2 restart</code></p>
  
  <p>But when I open the browser and move to my local Apache site, PHP files do not get rendered. <strong>They are shown simply as plain text</strong>.</p>
  
  <p>When I switch to PHP 5.6.21 and enable php5 module all working as expected.</p>
  
  <p>Any idea how I can solve this? I used Phpbrew so I can use PHP5 and PHP7 alongside on my local machine.</p>