doulu2591 2012-11-12 06:46
浏览 61

(Mac OS X,XAMPP)+ memcache - >找不到合适的图像

I have a issues installing memcache on my MacBook with OS X 10.8. I have installed memcachen. when i run memcache -h it get an answer. But when i call php -m i can't find it. When i execute phpinfo() and check the log afterwards i get the following log entry. Any idea?

PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/memcache.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/memcache.so, 9): no suitable image found. Did find: \t/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/memcache.so: mach-o, but wrong architecture in Unknown on line 0

Thanks for your help

  • 写回答

1条回答 默认 最新

  • dtwr2012 2013-03-07 07:52
    关注

    Your xampp is 64Bit Software and memcache.so is 32 bit or vice versa! In any case this Version of memcache.so does simply not match to the xampp you do use. Xampp offers elder version in 32bit and newer ones in 64. You might try that or find a different Version of the lib.

    If Sourcecode is available you might compile the lib on your system, this will help too.

    评论

报告相同问题?

悬赏问题

  • ¥15 Pwm双极模式H桥驱动控制电机
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题