我应该同时安装它们和它的两个模块吗?
apt-cache depends php
php
Depends: php7.2
php cli 有两个包:
apt-cache policy php7.2-cli
php7.2-cli:
Installed: (none)
Candidate: 7.2.7-0ubuntu0.18.04.2
Version table:
7.2.7-0ubuntu0.18.04.2 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
7.2.3-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
下一个:
apt-cache policy php-cli
php-cli:
Installed: (none)
Candidate: 1:7.2+60ubuntu1
Version table:
1:7.2+60ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages