Ubuntu Apache: "Module php7 does not exist"
<p>I am trying to upgrade PHP 5.5.9 to PHP 7 on my DigitalOcean Ubuntu 14.04 machine.</p>

<p>I've read many tutorials and articles how to do it, but each of them misses something. For example, somewhere they say you must <code>sudo a2dismod php5</code> then <code>sudo a2enmod php7</code>. The problem is that I always get this message</p>

<pre><code>$ sudo a2enmod php7
ERROR: Module php7 does not exist!
</code></pre>

<p>Does someone one how to resolve this problem, please?</p>

<p>Thanks in advance.</p>