Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to load mosquitto.so in Zend Server #79

Closed
arshadwis opened this issue Nov 24, 2017 · 1 comment
Closed

Not able to load mosquitto.so in Zend Server #79

arshadwis opened this issue Nov 24, 2017 · 1 comment

Comments

@arshadwis
Copy link

Hi,not able to intialize mosquitto.so in zend server php 7.1
Getting error like this.

Startup: mosquitto: Unable to initialize moduleModule compiled with module API=20151012PHP compiled with module API=20160303These options need to match in Unknown on line 0

Enviornment Setup

Aws Ubuntu 16 With Zend Server 9.1.1,Php 7.1

@mgdm
Copy link
Owner

mgdm commented Nov 25, 2017

Hello,
It looks like you've compiled your Mosquitto-PHP against a different version of PHP from what you're loading it into. I guess you might need to do rebuild it from source, doing something like this:

./configure --with-php-config=/path/to/zend-server/bin/php-config
make
make install

@mgdm mgdm closed this as completed Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants