我想装固定版本的php,就装php7.0.14的,以前装过,进入以前的系统
cat /etc/alpine-release显示3.4.0
apk info -a php7结果如下
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
谷歌搜索结果说
apk add php7=7.0.14-r5就可以了,可是提示
ERROR: unsatisfiable constraints:
php (virtual):
provided by: php5
required by: world[php=7.0.14-r5]