archlinux php7 mysql_yum下载php7的时候显示“Cannot allocate memory”不能分配内存?

用remi源下载php7,但是结果却显示“Cannot allocate memory”不能分配内存,什么意思?

[root@i123456789 ~]# yum install php70-php-fpm php70-php-cli php70-php-mcrypt

Loaded plugins: axelget, langpacks

No metadata available for base

No metadata available for dockerrepo

No metadata available for elrepo

No metadata available for epel

No metadata available for extras

No metadata available for mariadb

No metadata available for nginx

No metadata available for remi

No metadata available for remi-php70

No metadata available for remi-php70-test

No metadata available for remi-safe

No metadata available for remi-test

No metadata available for salt-2015.8

No metadata available for updates

Resolving Dependencies

--> Running transaction check

---> Package php70-php-cli.x86_64 0:7.0.5-0.1.RC1.el7.remi will be installed

--> Processing Dependency: php70-php-common(x86-64) = 7.0.5-0.1.RC1.el7.remi for package: php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64

---> Package php70-php-fpm.x86_64 0:7.0.5-0.1.RC1.el7.remi will be installed

---> Package php70-php-mcrypt.x86_64 0:7.0.5-0.1.RC1.el7.remi will be installed

--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php70-php-mcrypt-7.0.5-0.1.RC1.el7.remi.x86_64

--> Processing Dependency: libltdl.so.7()(64bit) for package: php70-php-mcrypt-7.0.5-0.1.RC1.el7.remi.x86_64

--> Running transaction check

---> Package libmcrypt.x86_64 0:2.5.8-13.el7 will be installed

---> Package libtool-ltdl.x86_64 0:2.4.2-21.el7_2 will be installed

---> Package php70-php-common.x86_64 0:7.0.5-0.1.RC1.el7.remi will be installed

--> Processing Dependency: php70-runtime for package: php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64

--> Processing Dependency: php70-php-json(x86-64) for package: php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64

--> Running transaction check

---> Package php70-php-json.x86_64 0:7.0.5-0.1.RC1.el7.remi will be installed

---> Package php70-runtime.x86_64 0:1.0-4.el7.remi will be installed

--> Processing Dependency: environment-modules for package: php70-runtime-1.0-4.el7.remi.x86_64

--> Running transaction check

---> Package environment-modules.x86_64 0:3.2.10-10.el7 will be installed

--> Processing Dependency: libtcl8.5.so()(64bit) for package: environment-modules-3.2.10-10.el7.x86_64

--> Running transaction check

---> Package tcl.x86_64 1:8.5.13-8.el7 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================

Package Arch Version Repository Size

===================================================================================================================

Installing:

php70-php-cli x86_64 7.0.5-0.1.RC1.el7.remi remi-test 2.6 M

php70-php-fpm x86_64 7.0.5-0.1.RC1.el7.remi remi-test 1.4 M

php70-php-mcrypt x86_64 7.0.5-0.1.RC1.el7.remi remi-test 51 k

Installing for dependencies:

environment-modules x86_64 3.2.10-10.el7 base 107 k

libmcrypt x86_64 2.5.8-13.el7 epel 99 k

libtool-ltdl x86_64 2.4.2-21.el7_2 updates 49 k

php70-php-common x86_64 7.0.5-0.1.RC1.el7.remi remi-test 571 k

php70-php-json x86_64 7.0.5-0.1.RC1.el7.remi remi-test 53 k

php70-runtime x86_64 1.0-4.el7.remi remi 1.1 M

tcl x86_64 1:8.5.13-8.el7 base 1.9 M

Transaction Summary

===================================================================================================================

Install 3 Packages (+7 Dependent packages)

Total download size: 7.9 M

Installed size: 21 M

Is this ok [y/d/N]: y

Downloading packages:

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64.rpm | 0 B 00:00:00 ...

tcl-8.5.13-8.el7.x86_64.rpm

tcl-8.5.13-8.el7.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

php70-runtime-1.0-4.el7.remi.x86_64.rpm

Error downloading packages:

libmcrypt-2.5.8-13.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

php70-php-common-7.0.5-0.1.RC1.el7.remi.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

php70-php-mcrypt-7.0.5-0.1.RC1.el7.remi.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

php70-php-json-7.0.5-0.1.RC1.el7.remi.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

libtool-ltdl-2.4.2-21.el7_2.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

1:tcl-8.5.13-8.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

environment-modules-3.2.10-10.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

php70-runtime-1.0-4.el7.remi.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

php70-php-cli-7.0.5-0.1.RC1.el7.remi.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

php70-php-fpm-7.0.5-0.1.RC1.el7.remi.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

repo文件内容是这样的:

remi-php70.repo

[remi-php70-test]

name=Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - $basearch

#baseurl=http://rpms.remirepo.net/enterprise/7/test70/$basearch/

mirrorlist=http://rpms.remirepo.net/enterprise/7/test70/mirror

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-php70-test-debuginfo]

name=Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - $basearch - debuginfo

baseurl=http://rpms.remirepo.net/enterprise/7/debug-test70/$basearch/

enabled=0

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

repo文件中用的下载网址是rpms.remirepo.net,

我猜想可能是这个网址的原因,在官网上有这么一段:

055df5d46efbf25330148d3c4a679157.png

红框中说rpms.remirepo.net限制了带宽,不要用这个网址下载。截图中左边有很多网址,可是那些网址找不到php,是我没找到?请大家帮说明一下怎么弄?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值