After upgrading from php5.5.9 to php5.6, What's the equivalent of php5enmod?
<p>In ubuntu server, I used to install modules for php5.5.9 like for example mcrypt with apt-get, and then I enabled it with <code>sudo php5enmod mcrypt</code>.</p>

<p>Now I've upgraded to php5.6, and I missed a module to work with PHPThumb in Laravel 4.2, which requires either GID or Imagick to modify images. So I did :</p>

<pre><code>$ sudo apt-get install php5.6-imagick
</code></pre>

<p>Then to enable this module I did :</p>

<pre><code>$ sudo php5enmod imagick
</code></pre>

<p>It returns this error : "WARNING: Module imagick ini file doesn't exist under /etc/php5/mods-available" . Which is normal because it exists under /etc/php/5.6/mods-available.</p>

<p>Is there a command to enable it like:</p>

<pre><code>$ sudo php5enmod imagick --path=/etc/php/5.6/mods-available
</code></pre>

<p>Or :</p>

<pre><code>$ sudo php5.6enmod imagick
</code></pre>

<p>Or could I link php5enmod to php/5.6 path instead?</p>