Installing Roundcube on Linode


I am following this tutorial to install roundcube:

~~[" target="_blank">]( … untu-14-04">](

There is a problem in this section:

Final Preparations for Roundcube

Install and enable the packages php-pear, php5-intl, and php5-mcrypt:

 sudo apt-get install php-pear php5-intl php5-mcrypt && sudo php5enmod intl mcrypt 

Apparently, this is outdated as I receive the following errors:

Package php5-mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package php5-intl
E: Package 'php5-mcrypt' has no installation candidate

Can anyone suggest a fix for this?


Edgar Crockett

1 Reply

Hi Edgar! I'm sorry to see that no one was able to help you before now.

Looking at the guide you linked to, it's been updated for Ubuntu 16.04. If you were to run that same command on a machine running Ubuntu 16.04 or higher, you'll have a problem since they come with PHP 7 or higher as standard now. You can also see that reflected in the updated command for that step in the guide:

sudo apt-get install php-pear php7.0-intl php7.0-mcrypt php7.0-mbstring && sudo phpenmod intl mcrypt mbstring

That said, for the scenario that you presented here, using PHP 5 on Ubuntu 14.04, I think this askubuntu post has the answer you'd be looking for:

sudo php5enmod mcrypt

and then

sudo service apache2 reload 

Of course, if you're running nginx, you'd want to run this command:

php5-fpm service reload

If using reload doesn't work, you can follow that up with restart, instead.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct