安装 joomla 4 ubuntu 21.04

安装 joomla 4 ubuntu 21.04
$ sudo apt install apache2 libapache2-mod-php openssl php-imagick php-gd php-imap php-intl php-json php-ldap php-mbstring php-mysql php-pgsql php-smbclient php-ssh2 php-sqlite3 php-xml php-zip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php-smbclient is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php-smbclient' has no installation candidate

答案1

php-smbclient套餐仅提供在 18.04 Universe 存储库中,因此如果不添加第三方仓库,则无法在 21.04 上安装,例如安德烈 PPA

您可以像这样将其添加到您的系统中:

sudo add-apt-repository ppa:ondrej/php
sudo apt update

从这里您将能够安装该php-smbclient包。

相关内容