Hasan Hadi Hasan Hadi - 1 year ago 158
PHP Question

HP Startup:Unable to load dynamic library

how can resolve this probelm

pi@raspberrypi:~ $ php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mosquitto.so' - /usr/lib/php5/20131226/mosquitto.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.20-0+deb8u1 (cli) (built: Apr 28 2016 00:01:26)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Answer Source

I resolve this problem by write this commands

 sudo pecl install Mosquitto-alpha

and created mosquitto.ini in


and add this code

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download