Tuesday, February 9, 2010

Webs Developer

PHP, Ruby Rails, JavaScript, AJAX and other bits ‘n pieces…

Rob Peck’s Blog: PECL memcache and PHP on Mac OS X Leopard

Posted by web slinger on June - 1 - 2009

Rob Peck has figured out a way to get memcache (pecl) to compile on his Mac (OS X).

So tonight I ran into an interesting issue this evening in configuring PECL memcache to run on my Macintosh. To give you a bit of background, I use the built-in copy of Apache, but with PHP (current 5.2.8) compiled from source since the version in Leopard is old and I needed some things that it didn’t provide.

After finding out the problem (from a log file), he tracked down a similar issue and its solution. Trying it out, he found it worked - adding in an environment variable to tell the compiler with environment to use.

Share and Enjoy:
  • Reddit
  • Digg
  • Slashdot
  • StumbleUpon
  • TwitThis
  • Technorati
  • del.icio.us
  • Facebook
  • Fark
  • Google

Continue reading over at PHP Developer...

Add A Comment