简体   繁体   中英

install couchbase php extension on xampp under windows 10

i've tried many times to install couchbase client using this tutorial : http://trondn.blogspot.ro/2013/04/couchbase-php-xampp-and-windows.html ,, but is not working,,

when i run composer update i get the following errors

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_couchbase.dll' - The specified module could not be found.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_couchbase.dll' - The specified module could not be found.
 in Unknown on line 0
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - ytake/laravel-couchbase 0.5.7 requires ext-couchbase ^2.2.2 -> the requested PHP extension couchbase is missing from your system.
    - ytake/laravel-couchbase 0.5.6 requires ext-couchbase >=2.2.0 -> the requested PHP extension couchbase is missing from your system.
    - ytake/laravel-couchbase 0.5.5 requires ext-couchbase >=2.2.0 -> the requested PHP extension couchbase is missing from your system.
    - ytake/laravel-couchbase 0.5.3 requires ext-couchbase >=2.2.0 -> the requested PHP extension couchbase is missing from your system.
    - ytake/laravel-couchbase 0.5.2 requires ext-couchbase >=2.2.0 -> the requested PHP extension couchbase is missing from your system.
    - ytake/laravel-couchbase 0.5.1 requires ext-couchbase >=2.2.0 -> the requested PHP extension couchbase is missing from your system.
    - Installation request for ytake/laravel-couchbase ^0.5 -> satisfiable by ytake/laravel-couchbase[0.5.1, 0.5.2, 0.5.3, 0.5.5, 0.5.6, 0.5.7].

what should i do? please i need help

Official PHP SDK binaries for Windows published on https://developer.couchbase.com/server/other-products/release-notes-archives/php-sdk

Make sure you put php_couchbase.dll into your extensions directory, and libcouchbase.dll into your SAPI PATH (or process current directory).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM