Error with "pecl install gearman" on Debian 7

raw

error.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$ cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
 
$ pecl install gearman
...
configure: error: Please install libgearman
 
$ apt-get install libgearman-dev
 
$ pecl install gearman
...
configure: error: libgearman version 1.1.0 or later required
 
$ pecl install gearman-1.0.3
.. worked!
raw

php-error.rst

Error:

$ ./bin/worker.php
Waiting for job...
PHP Fatal error:  Uncaught exception 'GearmanException' with message
    'Failed to set exception option'

Solution:

matt

MAY 22, 2012 AT 19:37

This error can also occur if you’re using the default php example with $some_ver->addServer(); which will default to localhost, but for me on ubuntu 10.04 I had to turn that into addServer(“127.0.0.1″); or else I was getting the same message.

http://e-mats.org/2012/02/php-fatal-error-uncaught-exception-gearmanexception-with-message-failed-to-set-exception-option/comment-page-1/#comment-7086

Christian Weiske Christian Weiske
owner

History