Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

PHP - Trouble installing the PHP SDK

4 replies [Last post]
  • Login or register to post comments
Tue, 07/12/2011 - 11:36
rhettc
Offline
Joined: 07/12/2011
Groups: None

Hi,

I'm having difficulty installing the PHP SDK. I was following the steps found here:
http://www.couchbase.org/products/sdk/membase-php

Initially, I tried using the download but PHP was reporting an unknown symbol error after updating the php.ini so I'm trying to build from source instead.

For convenience sake, I've copied the relevant steps below:

Get Source
$ mkdir php-couchbase-memcached
$ repo init -u git://github.com/couchbase/php-memcached-manifest.git

Build
$ ./build-couchbase-memcached/build-couchbase-memcached.sh

The repo init seems to work, but I'm problems with the build step. As far as I can tell I don't have the build-couchbase-memcached.sh file. Also, the folder php-couchbase-memcached is empty.

Can anyone provide some insight on this?

Top
  • Login or register to post comments
Tue, 07/12/2011 - 16:17
rhettc
Offline
Joined: 07/12/2011
Groups: None

Apologies, I should have mentioned I'm running on Amazon Linux 2011.02.1 32bit which is comparable to RHEL 4 if I understand correctly.

Top
  • Login or register to post comments
Tue, 07/12/2011 - 21:46
rhettc
Offline
Joined: 07/12/2011
Groups: None

Nevermind. I think it's sorted out now.

Top
  • Login or register to post comments
Wed, 07/13/2011 - 08:45
perry
Offline
Joined: 10/11/2010
Groups:

Thanks for helping yourself on this one ;-) Would you mind posting the details of the fix for anyone else who may run across this?

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Wed, 07/13/2011 - 10:44
rhettc
Offline
Joined: 07/12/2011
Groups: None

Well, I had since blown away that server instance and on the next attempt I discovered that Amazon had updated their YUM repository to include the memcached extension. Still had a bit of a difficulty with php.ini which turned out to be the classic confusion of memcache vs. memcached. That subtle little "d" at the end is tricky indeed :)

So the takeaways were:
-The EC2 forums are valuable is you're with Amazon's web service offerings
-Having the right package in YUM makes all the difference in the world, so search your installed YUM repositories again just in case
-memcache != memcached

Some general feedback regarding install documentation, not specifically for the SDK:
I am very excited to work in a Linux environment, however I am very inexperienced with these platforms. That considered, I found some of the instructions related to the couchbase offerings at github were slightly little lacking. I felt kinda lost issuing git and repo commands. Simply knowing what the outcome of the command should be, instead of just the next command to issue, would have been helpful because I would have been able to know if the step had really worked as intended. Basically instructions for the git content assumed the reader was comfortable with git. I know it's a two way street, but in choosing my battles it made more sense for *me* to try other alternatives instead of ramping up on my git skills, although the latter seems inevitable.

Not to discourage though, The documentation that's available on coubase/membase/etc is very much appreciated and I strongly rely it.

Cheers!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker