I followed How to install PHP 7.2 as PHP-FPM on Debian 8. I'm trying to install/add module smbclient to my php-7.2, could someone please assist. I tried google but all the commands I found are not applicable. Thanks in advance.
SOLVED libsmbclient-php sudo apt install php-dev libsmbclient-dev php-pear sudo pecl channel-update pecl.php.net sudo pecl install smbclient I didn't have to do these": Create a new file smbclient.ini in /etc/php/7.2/mods-available with following content: extension=smbclient.so Create in any subdirectory of 7.2 containing a conf.d directory a symbolic link: sudo ln -s /etc/php/7.2/mods-available/smbclient.ini 20-smbclient.ini You need to restart php and your webserver, example based on nginx: sudo service php7.2-fpm restart sudo service nginx restart or service apache2 restart