{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"Error with \"pecl install gearman\" on Debian 7","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/187 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"187\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <style type=\"text\/css\">\/**\n * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann\n * (http:\/\/qbnz.com\/highlighter\/ and http:\/\/geshi.org\/)\n *\/\n.bash .de1, .bash .de2 {font: normal normal 1em\/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}\n.bash  {font-family:monospace;}\n.bash .imp {font-weight: bold; color: red;}\n.bash li, .bash .li1 {color: #DDD;}\n.bash .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}\n.bash .kw1 {color: #000000; font-weight: bold;}\n.bash .kw2 {color: #c20cb9; font-weight: bold;}\n.bash .kw3 {color: #7a0874; font-weight: bold;}\n.bash .co0 {color: #666666; font-style: italic;}\n.bash .co1 {color: #800000;}\n.bash .co2 {color: #cc0000; font-style: italic;}\n.bash .co3 {color: #000000; font-weight: bold;}\n.bash .es1 {color: #000099; font-weight: bold;}\n.bash .es2 {color: #007800;}\n.bash .es3 {color: #007800;}\n.bash .es4 {color: #007800;}\n.bash .es5 {color: #780078;}\n.bash .es_h {color: #000099; font-weight: bold;}\n.bash .br0 {color: #7a0874; font-weight: bold;}\n.bash .sy0 {color: #000000; font-weight: bold;}\n.bash .st0 {color: #ff0000;}\n.bash .st_h {color: #ff0000;}\n.bash .nu0 {color: #000000;}\n.bash .re0 {color: #007800;}\n.bash .re1 {color: #007800;}\n.bash .re2 {color: #007800;}\n.bash .re4 {color: #007800;}\n.bash .re5 {color: #660033;}\n.bash span.xtra { display:block; }\n<\/style><div class=\"code\"><table class=\"bash\"><tbody><tr class=\"li1\"><td class=\"ln\"><pre class=\"de1\">1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n<\/pre><\/td><td class=\"de1\"><pre class=\"de1\">$ <span class=\"kw2\">cat<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/*<\/span>release\n<span class=\"re2\">PRETTY_NAME<\/span>=<span class=\"st0\">&quot;Debian GNU\/Linux 7 (wheezy)&quot;<\/span>\n&#160;\n$ pecl <span class=\"kw2\">install<\/span> gearman\n...\nconfigure: error: Please <span class=\"kw2\">install<\/span> libgearman\n&#160;\n$ <span class=\"kw2\">apt-get<\/span> <span class=\"kw2\">install<\/span> libgearman-dev\n&#160;\n$ pecl <span class=\"kw2\">install<\/span> gearman\n...\nconfigure: error: libgearman version 1.1.0 or later required\n&#160;\n$ pecl <span class=\"kw2\">install<\/span> gearman-1.0.3\n.. worked<span class=\"sy0\">!<\/span><\/pre><\/td><\/tr><\/tbody><\/table><\/div>\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/187\/rev-raw\/d2dc558d960e58537fae93f74b2a928d9050a06e\/error.sh\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/187#error.sh\">error.sh<\/a>\n <\/div>\n<\/div>\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>Error:<\/p>\n<pre class=\"literal-block\">\n$ .\/bin\/worker.php\nWaiting for job...\nPHP Fatal error:  Uncaught exception 'GearmanException' with message\n    'Failed to set exception option'\n<\/pre>\n<p>Solution:<\/p>\n<blockquote>\n<p>matt<\/p>\n<p>MAY 22, 2012 AT 19:37<\/p>\n<p>This error can also occur if you\u2019re using the default php\nexample with <tt class=\"docutils literal\"><span class=\"pre\">$some_ver-&gt;addServer();<\/span><\/tt> which will default to\nlocalhost, but for me on ubuntu 10.04 I had to turn that\ninto <tt class=\"docutils literal\"><span class=\"pre\">addServer(\u201c127.0.0.1\u2033);<\/span><\/tt> or else I was getting the same message.<\/p>\n<\/blockquote>\n<p><a class=\"reference external\" href=\"http:\/\/e-mats.org\/2012\/02\/php-fatal-error-uncaught-exception-gearmanexception-with-message-failed-to-set-exception-option\/comment-page-1\/#comment-7086\">http:\/\/e-mats.org\/2012\/02\/php-fatal-error-uncaught-exception-gearmanexception-with-message-failed-to-set-exception-option\/comment-page-1\/#comment-7086<\/a><\/p>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/187\/rev-raw\/d2dc558d960e58537fae93f74b2a928d9050a06e\/php-error.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/187#php-error.rst\">php-error.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
