linux-yum下载php7的时候显示“Cannotallocatememory”不能分配内存?
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了linux-yum下载php7的时候显示“Cannotallocatememory”不能分配内存?,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含31810字,纯文字阅读大概需要46分钟。
内容图文
![linux-yum下载php7的时候显示“Cannotallocatememory”不能分配内存?](/upload/InfoBanner/zyjiaocheng/243/b9321612de6e43e8ad0154e0a858a560.jpg)
用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,
我猜想可能是这个网址的原因,在官网上有这么一段:
红框中说rpms.remirepo.net限制了带宽,不要用这个网址下载。截图中左边有很多网址,可是那些网址找不到php,是我没找到?请大家帮说明一下怎么弄?
回复内容:
用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,
我猜想可能是这个网址的原因,在官网上有这么一段:
红框中说rpms.remirepo.net限制了带宽,不要用这个网址下载。截图中左边有很多网址,可是那些网址找不到php,是我没找到?请大家帮说明一下怎么弄?
内存不够了,试着把nginx,mysql和一些无用的进程先停掉,等php装好再启动
我遇到过这个提示,当时的解决方法是添加了虚拟内存。然后就没有问题了。
内容总结
以上是互联网集市为您收集整理的linux-yum下载php7的时候显示“Cannotallocatememory”不能分配内存?全部内容,希望文章能够帮你解决linux-yum下载php7的时候显示“Cannotallocatememory”不能分配内存?所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。