PHP ZeroMQ extension support for mipsel 24kc

I'm looking for PHP ZeroMQ extension for mipsel 24kc on Openwrt, but I can't find it.
I'm talking about this:

This can be installed easily via PECL from Linux Debian-based distro.
I've seen that all PHP extensions are on packages feeds as ipk.

There's a way to compile it?

Thanks in advance.

I once made it in php5. if you want to try it you can grab it here


You made my day!
But, how did you do? Are there any instructions to convert PECL extensions for Openwrt?

I need to the same extension for PHP 7. Have you got it too?

Thank you very much.

i have not tried in php7. but I believe it can be used in php7 and php8

Actually I'm using Openwrt 19.07.7 with the following packages:

I see your ipk has a dependency with php5, but I cannot install it.

I tried to create the /etc/php7/20_zmq.ini file with this content:

and then I paste inside /usr/lib/php but executing php -m it shows me:

PHP Warning:  PHP Startup: Unable to load dynamic library '' (tried: /usr/lib/php/ (Error relocating /usr/lib/php/ zend_object_store_get
_object: symbol not found), /usr/lib/php/ (Error loading shared library /usr/lib/php/ No such file or directory)) in Unknown on line 0
[PHP Modules]

you are wrong it can't be used in php7 you have to create it with php7

Ok, but I don't know how. :pensive:
I didn't find any tutorial.

i don't have zmq file for php7. it has to be remade

Ok, if you tell me how, I'll do it and I publish it here with its ipk for everyone. :slightly_smiling_face:


1 Like

Can I see your Makefile?

I have given you the link above how to make packages

I know how creating packages on OpenWrt, but in this case I've no information how pecl works on OpenWrt and there's no tutorial or examples about that.

I think it could be very helpful for the PHP community.

please search on google according to your wishes

1 Like