-
Notifications
You must be signed in to change notification settings - Fork 119
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
Class 'ZMQContext' not found in php-fpm #177
Comments
I have the same problem. when i do I get this error
phpize shows this
I have solved my problem when i just compile php 7 for fpm without using --enable-maintainer-zts and --enable-debug. |
I'm having the same issue here. Zmq package doesn't seem to load (doesn't appear in phpinfo()). I'm using wamp. How have you managed to fix that? |
same error... for cli, it seems the file php.ini is redirected to "/etc/php/7.2/cli/", but my PHP is in other directory, not "/etc/php". PHP version: 7.4.8 |
Hi guys, I have PHP 5.6 on Ubuntu 14.04 running with php-fpm and I have installed ZeroMQ 4.1.5 and the php binding via pear so it is compiled against my php version and added the
extension=zmq.so
line to /etc/php5/cli/php.ini as well as to /etc/php5/fpm/php.ini and restarted the server.When I do
php -m
the zmq module is loaded but when I show phpinfo() via web, the module is not there and my zmq initialization script raises error saying "Class 'ZMQContext' not found". Do you have any idea why this is happening? Here is my question on StackOverflow: http://stackoverflow.com/questions/38054563/class-zmqcontext-not-found, so far not answered, there are just few different versions used there, but the problem exists with the newer versions too.I have also tried to build the binding from github but without luck. Thanks in advance for any help, I'm stuck on this for days.
The text was updated successfully, but these errors were encountered: