Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this can't works. #15

Closed
ahpay opened this issue Apr 12, 2014 · 4 comments
Closed

this can't works. #15

ahpay opened this issue Apr 12, 2014 · 4 comments

Comments

@ahpay
Copy link

ahpay commented Apr 12, 2014

I used MAMP PRO 3.0.4.
phpinfo view ok,but php can't works.
error info:
Fatal error: Class 'Memcache' not found in /Users/aa/web/jk/public/test.php on line 9

test.php
$memcache = new Memcache; // <=== this line 9
$memcache->connect('localhost', 11211) or die ("Could not connect");
$memcache->set('key', 'test');
$get_value = $memcache->get('key');
echo $get_value;

@majksner
Copy link
Owner

Memcache and memcached are two different extensions.
On Apr 12, 2014 7:24 PM, "ahpay" notifications@github.com wrote:

I am use MAMP pro.
phpinfo view is ok,
but php can't works.

Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-40286281
.

@ahpay
Copy link
Author

ahpay commented Apr 12, 2014

oh.sorry.
I found his mistake
3Q

@ahpay
Copy link
Author

ahpay commented Apr 12, 2014

What time are you going to upgrade your memcache.so support php5.5.x?

@majksner
Copy link
Owner

This repository is only for memcached extension.
On Apr 12, 2014 8:10 PM, "ahpay" notifications@github.com wrote:

What time are you going to upgrade your memcache.so support php5.5.x?

Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-40287420
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants