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条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 ubuntu虚拟机打包apk错误
    • ¥199 rust编程架构设计的方案 有偿
    • ¥15 回答4f系统的像差计算
    • ¥15 java如何提取出pdf里的文字?
    • ¥100 求三轴之间相互配合画圆以及直线的算法
    • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
    • ¥15 名为“Product”的列已属于此 DataTable
    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发