Noob question about installing mcrypt PHP module [solved]
I have installed a WordPress database backup plugin which requires the PHP module 'mcrypt' in order to function properly.
I have tried doing this myself via ssh (following info from this page
Could some kind person please post the instructions for how to log in and do this via SSH/terminal.
Thanks in advance.
8 Replies
On Ubuntu, I did something like "sudo apt-get install php5-mcrypt", and it worked great! :)
I just logged into SSH as 'root' user. Entered:
sudo apt-get install php5-mcrypt
And got an error saying:
-bash: sudo: command not found
cat /etc/issue
Debian GNU/Linux 7 \n \l
I tried the command without the sudo. Here's the output:
Get:1 http://ftp.us.debian.org/debian/ wheezy/main libltdl7 amd64 2.4.2-1.1 [352 kB]
Get:2 http://ftp.us.debian.org/debian/ wheezy/main libmcrypt4 amd64 2.5.8-3.1 [83.2 kB]
Err http://packages.dotdeb.org/ wheezy-php55/all php5-mcrypt amd64 5.5.1-1~dotdeb.1
404 Not Found
Fetched 435 kB in 0s (797 kB/s)
Failed to fetch http://packages.dotdeb.org/dists/wheezy-php55/php5/binary-amd64/php5-mcrypt_5.5.1-1~dotdeb.1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Did you try "apt-get update" to see if that fixed it? Then try the install command again.
> Configuration file `/etc/php5/fpm/pool.d/
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
Any advice?
As a result, my WordPress plugin (with the mcrypt dependency) is now working fine.
Thank you internet stranger dcraig! You are a generous person!