鍍金池/ 問答/PHP  Linux/ 為什么翻遍了alpine的所有資源找不到php7-7.0.14-r5這個版本?。?/span>

為什么翻遍了alpine的所有資源找不到php7-7.0.14-r5這個版本???

我想裝固定版本的php,就裝php7.0.14的,以前裝過,進(jìn)入以前的系統(tǒng)

cat /etc/alpine-release顯示3.4.0

apk info -a php7結(jié)果如下

WARNING: Ignoring APKINDEX.066df28d.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.b53994b4.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.24c95890.tar.gz: No such file or directory
php7-7.0.14-r5 description:
The PHP language runtime engine - 7th branch

php7-7.0.14-r5 webpage:
http://www.php.net/

php7-7.0.14-r5 installed size:
7856128

php7-7.0.14-r5 depends on:
php7-common
so:libc.musl-x86_64.so.1
so:libedit.so.0
so:libxml2.so.2

php7-7.0.14-r5 provides:

php7-7.0.14-r5 is required by:
php7-phar-7.0.14-r5

php7-7.0.14-r5 contains:
usr/bin/php7

php7-7.0.14-r5 triggers:

php7-7.0.14-r5 has auto-install rule:

php7-7.0.14-r5 affects auto-installation of:

php7-7.0.14-r5 replaces:

php7-7.0.14-r5 license:
PHP-3

谷歌搜索結(jié)果說

apk add php7=7.0.14-r5就可以了,可是提示

ERROR: unsatisfiable constraints:
  php (virtual):
    provided by: php5
    required by: world[php=7.0.14-r5]
回答
編輯回答
魚梓

7.0.14是大版本,后面的r5應(yīng)該是你這個版本并不是發(fā)布的穩(wěn)定版本,即將作為正式版發(fā)布的第五次修改,去官網(wǎng)可以下載到7.0.14的穩(wěn)定版本

2018年2月9日 11:27
編輯回答
骨殘心

這里可以查詢軟件包的維護(hù)情況:
https://pkgs.alpinelinux.org/...*&branch=v3.4&repo=&arch=&maintainer=
你說的版本可能已經(jīng)不再維護(hù)了

2017年3月5日 09:13