News Feed
Sections




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

Jim Plush's Blog:
Fix when compiling the Redis php extension on OSX - mach-o, but wrong architecture
September 14, 2010 @ 11:02:22

When trying to load in the Redis module for his PHP installation, Jim Plush was getting an error:

PHP Warning: PHP Startup: Unable to load dynamic library '/[...]/redis.so' - dlopen(/[...]/redis.so, 9): no suitable image found. Did find: /[...]/redis.so: mach-o, but wrong architecture in Unknown on line 0

He fixed the issue with the help of a bash script (source included) that sets up the right environment to build PHP on the OSX platform. Then the normal make, phpize, etc process can be done on the PECL extension and have it compile correctly.

1 comment voice your opinion now!
redis extension compile osx architecture


blog comments powered by Disqus

Similar Posts

Knut Urdalen's Blog: Yii Framework 1.0 released!

Jim Plush's Blog: Fix when compiling the Redis php extension on OSX - mach-o, but wrong architecture

PHPMaster.com: Crop and Resize Images with ImageMagick

PHPClasses.org: Lately in PHP, Episode 31 - The Urge to Kill Older PHP Versions

Zend Developer Zone: Dynamically Creating Graphs and Charts with PHP and GDChart


Community Events





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


series tips code podcast application laravel api list developer threedevsandamaybe community deployment release interview conference development language zendserver framework introduction

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