News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stefan Koopmanshcap's Blog:
Installing the Geoip PECL package for Zend Server on OSX
January 12, 2012 @ 11:09:56

In this recent post to his blog Stefan Koopmanschap shares some of the troubles (and a solution) when he was dealing with getting the Geoip PECL extension installed on his Zend Server setup in OSX.

Today I needed to get a client application up and running on my local system. This application uses the Geoip PECL package, so I needed to get this up and running. This turned out to be slightly more difficult than just a PECL install, as you're missing some libraries by default, so here is my log of things to do to get it up and running.

He gives the complete list of steps his followed including downloading the source and his way around this "System could not load this extension" issue. The trick was to recompile the source with the correct architecture. By default his extension was built with i386 instead of 64-bit but updating some of the CFLAGS settings (and a few other environment variables) got things compiling correctly.

0 comments voice your opinion now!
geoip osx install pecl extension tutorial compile architecture


blog comments powered by Disqus

Similar Posts

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

Sean Coates' Blog: Deploy on push (from GitHub)

SitePoint PHP Blog: Getting Started with Laravel on Nitrous.io

PHPBuilder.com: Parsing XML with the DOM Extension for PHP 5

Blond R's Blog: Set up IIS 7 w/ MySQL and PHP 5


Community Events





Don't see your event here?
Let us know!


opinion community podcast library symfony security laravel version composer introduction package update voicesoftheelephpant release language install series framework interview tool

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework