-
Notifications
You must be signed in to change notification settings - Fork 104
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
Symfony2 Mmoreram GearmanClient fails to load #167
Comments
I think you need to install and enable the php gearman extension. That's the error you are seeing. |
The Extension is already installed gearman gearman support enabled |
You sure it's loaded in whatever environment you are getting the error in? Ie on CLI php -I|grep gearman. Or phpinfo in your browser ? It's saying it can't find it, that class is part of that module. |
I'm getting this from both "php -i" and browser. Actually, I already tested in an external file and it instantiates the native GearmanClient normally, but on the Mmoreram GearmanBundle It is returning this error. Could it be the apxs2 ? |
Not sure then on that one then. If you can run a sample PHP app via the same environment, ie |
The bundle has a class named GearmanClient. Did you define a DIC parameter |
I found it. It seems the apache was pointing to a different conf.d. Thank you guys for the help |
Hello Mmoreram,
I'm facing some problems with the GearmanBundle, since after the process of installation succeeded, I can find all my jobs and workers:
As you can se, my gearman is installed on php:
But when I call this:
It returns me this message:
The bundle can't load the native GearmanClient() on global scope. Can you help me with this ?
The text was updated successfully, but these errors were encountered: