Spróbuj yum install php56w-mcrypt
i system dał mi ten błąd
libmcrypt-2.5.8-13.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
php56w-mcrypt-5.6.5-1.w7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
Sprawdziłem free -m
total used free shared buffers cached
Mem: 490 421 68 8 3 42
-/+ buffers/cache: 376 113
Swap: 0 0 0
top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9756 mysql 20 0 727588 81556 0 S 0.3 16.2 1:04.61 mysqld
11089 root 20 0 0 0 0 S 0.3 0.0 0:16.25 kworker/0:2
1 root 20 0 129396 2020 576 S 0.0 0.4 0:05.88 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.16 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/0
10 root 20 0 0 0 0 S 0.0 0.0 0:01.82 rcu_sched
11 root 20 0 0 0 0 R 0.0 0.0 0:02.10 rcuos/0
12 root rt 0 0 0 0 S 0.0 0.0 0:00.91 watchdog/0
13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd
Nie wiem, gdzie jeszcze to sprawdzić.
Używam DigitalOcean
VPS z RAM 512 MB, abonament 5 USD / miesiąc.
sudo
poleceńsudo dd if=/dev/zero of=/swapfile count=512 bs=1MiB