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

Cannot Use class files with my existing project #33

Closed
TNChalise opened this issue Mar 29, 2016 · 1 comment
Closed

Cannot Use class files with my existing project #33

TNChalise opened this issue Mar 29, 2016 · 1 comment

Comments

@TNChalise
Copy link

I have done with all installation prerequisites. I have now currently loadedmosquitto.so extension in my php.ini. But, I can use:
$client = new \Mosquitto\Client();
But cant:
$base = new \EventBase();
Is there anything, I have to do to remove fatal error of

Class 'EventBase' not found.

Any help will be appreciated.
extension

I have executed in cli mode.

@TNChalise TNChalise changed the title Cannot Use Mosquitto\Client() with my existing project Cannot Use class files with my existing project Mar 29, 2016
@indigator
Copy link

You need to install php libevent extension using pecl to use EventBase.
This extension is however not compatible with php 7.

@mgdm mgdm closed this as completed Apr 28, 2020
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

3 participants