-
Notifications
You must be signed in to change notification settings - Fork 147
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
Error on Ubuntu 20 with PHP8 #120
Comments
It’s not working yet. I’m working on it in a branch but haven’t finished it off yet.
… On 25 Jan 2021, at 11:42, Giorgio Pagnoni ***@***.***> wrote:
The command pecl install Mosquitto-alpha fails on Ubunutu 20 with php 8. Are php 8 and ubuntu 20 supported?
Here's the error I get:
In file included from /tmp/pear/temp/Mosquitto/mosquitto.c:12:
/tmp/pear/temp/Mosquitto/php_mosquitto.h:118:95: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
118 | typedef int (*php_mosquitto_write_t)(mosquitto_message_object *mosquitto_object, zval *newval TSRMLS_DC);
| ^~~~~~~~~
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you for your quick feedback! |
Hi! Is there any chance that there will be an update for PHP8 compatibility in the foreseeable future? Can we help to make it happen, somehow? |
Tell me will there be a new version for php 8 in the foreseeable future. Can the community help you somehow? |
There is a branch for it: https://github.com/mgdm/Mosquitto-PHP/tree/php8 it would be great if you could check it out, and see if it works for your use. I can look into doing an actual release but any feedback I can get from trying that out will be great. |
I use this library for my pet project - smart home. I can check this way. I will listen and push mqtt messages on docker image with php8. |
how install https://github.com/mgdm/Mosquitto-PHP/tree/php8 on php 8 server this mosquitto lib verison? |
People help how to build this module and put it in php 8 |
Using docker image php:8.1-fpm.
Error:
|
hello, I am getting the exact same error on debian bookworm with php8.2, is there a fix? |
I have a forked version with PHP 8 support. |
this works thank you |
I have the same error while trying to build my docker container. Dockerfile:
How can I fix it? |
@mgdm any news about the fix? |
I don't use Docker so I can't help with that but I can say that my PR has been merged into the PHP8 branch here. |
The command
pecl install Mosquitto-alpha
fails on Ubunutu 20 with php 8. Are php 8 and ubuntu 20 supported?Here's the error I get:
The text was updated successfully, but these errors were encountered: