PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 17, 2022

[FIXED] Issues installing gearman on MAMP running OS X 10.8

 February 17, 2022     gearman, macos, mamp, php, terminal     No comments   

Issue

As the title states I am having some issues when installing gearman for PHP in a MAMP environment. Here's what I've done so far:

I've downloaded the latest PECL version and run these commands based on the docs:

tar xzf gearman-X.Y.tgz
cd gearman-X.Y
phpize
./configure
make
make install

I get to the phpize step and receive the error configure: error: Please install libgearman

I'm very new to Mac products, terminal/command line execution, etc. Can anyone help me work this? I can't really find any help on the issue when Googling.


Solution

You need to compile gearman daemon even if you are not running gearman on that machine. That will provide libgearman which you will use for the pecl gearman extension.

You can get gearman here: https://launchpad.net/gearmand/



Answered By - datasage
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing