duankangzi766767 2013-03-05 22:25
浏览 46

PHP启动:无法在通用包装器中加载动态库和没有匹配的体系结构

Am using XAMPP web server, CakePHP and PHP 5.3.1 in Macbook Pro device. Whenever am trying to run console feature of cakePHP through bash cli, I get a PHP warning message which is located at the end of this question. To overcome this, I did some research on Google and ended up with reinstalling CakePHP and XAMPP and yet the same PHP warning appears.

Lastly, I was told that I have an incompatibility issue as some files are x86 and others are x64! The suggestion to that was that I need to recompile some file which I sat wrongly and make them compatible. As far as my knowledge goes as beginner developer, applying the suggested solution in order to determine whether it is the right solution seems quite unclear ; particularly, in terms of the exact steps I should follow.

Therefore, I would kindly seek advices and guidance on whether the last diagnoses of the issue is the right or not? if it is right, It would be appreciated to state the step in accomplishing this.If it is not, I would be grateful to be know the actual problem and how to overcome it

the error message that appears in bash is as follow:

PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/ming.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/ming.so, 9): no suitable image found.

Did find:/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/ming.so:

no matching architecture in universal wrapper in Unknown on line 0

this error message is repeated 24 times, each with the same message stated above, but with a different name of the php extensions, which are:

  1. ming.so
  2. bz2.so
  3. curl.so
  4. exif.so
  5. gd.so
  6. imap.so
  7. ldap.so
  8. mbstring.so
  9. mysql.so
  10. mysqli.so
  11. pdo_mysql.so
  12. pdo_pgsql.so
  13. sqlite3.so
  14. pdo_sqlite.so
  15. pgsql.so
  16. shmop.so
  17. snmp.so
  18. soap.so
  19. sockets.so
  20. sqlite.so
  21. xmlrpc.so
  22. xsl.so
  23. zip.so
  24. zlib.so
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题
    • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
    • ¥15 YoloV5 第三方库的版本对照问题
    • ¥15 请完成下列相关问题!
    • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
    • ¥15 求daily translation(DT)偏差订正方法的代码
    • ¥15 js调用html页面需要隐藏某个按钮