I've tried to install the smbclient with "apt install php8.0-smbclient" for my Nextcloud.
But it didn't worked.
System: Ubuntu 18.04 LTS 64bit + Plesk Obsidian + PHP8.0
Need help.
You tried to install smbclient for OS vendor's PHP, but your nextcloud uses Plesk client's PHP version. So you have to use this method for adding smbclient PHP module: Resolved - PHP SMB Client