2014-04-25 45 views
1

我想在PHP中使用Memcached與自制軟件。安裝是succeesfull,但是當我試圖在CL運行PHP我得到這個錯誤:在PHP中使用Memcached與自制軟件 - 操作系統X

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/memcache.so' - dlopen(/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/memcache.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/memcache.so' - dlopen(/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/memcache.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so' - dlopen(/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so' - dlopen(/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so, 9): image not found in Unknown on line 0 Laravel development server started on http://dev-local.ilikeq.com:8000 [Fri Apr 25 21:15:48 2014] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/memcache.so' - dlopen(/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/memcache.so, 9): image not found in Unknown on line 0 [Fri Apr 25 21:15:48 2014] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so' - dlopen(/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so, 9): image not found in Unknown on line 0

我的釀造列表:

  • autoconf的
  • 魔豆
  • FreeType的
  • 的gettext
  • jpeg
  • libevent
  • libmemcached
  • 的libpng
  • mcrypt的
  • memcached的
  • mhash
  • php55
  • php55-mcrypt的
  • php55-內存緩存
  • php55-memcached的
  • php55-蒙戈
  • 的unixODBC
  • zlib的

我的釀造配置:

  • HOMEBREW_VERSION:0.9.5
  • 產地:https://github.com/Homebrew/homebrew
  • HEAD:127a89a32fc2f6fe758e8cbf1d74f92e5819c55e
  • HOMEBREW_PREFIX:在/ usr /本地
  • HOMEBREW_CELLAR:/ usr/local/Cellar
  • CPU:四核64位IvyBridge的
  • OS X:10.9.2-x86_64的
  • Xcode中:5.1.1
  • CLT:5.1.0.0.1.1396320587
  • 鏘:5.1建立503
  • X11:2.7.5 => /選擇/ X11
  • 系統紅寶石:1.8.7-358
  • 的Perl:在/ usr /斌/ perl的
  • 的Python:N/A
  • Ruby:/Users/Singularity/.rvm/rubies/ruby-2.0.0-p247/bin/rub
+0

你有沒有想過這裏有什麼問題?我正在努力解決同樣的問題。 – Ned

回答

0

在ssh2.so中有這個問題。

我從php.ini中取消了註釋,錯誤消失了。它被包括在一個不同的方式。

0

我遇到了同樣的問題,我發現目錄路徑:

'/usr/local/Cellar/php55/5.5.11/lib/php/extensions/no-debug-non-zts-20121212/mongo.so'

據我以前不存在,並且餘did't找到方法來解決它!

相關問題