Welcome! Log In Create A New Profile

Advanced

memcache issue

Yanxin Z.
May 05, 2011 11:54AM
Hello,
I am using PHP to connect to memcache.

I connect memcache service in the PHP code as follows:
$memcache = new Memcache;
$memcache->connect('127.0.0.1', 11211); //connect to memcached server


Then when I connect to NGX server, I got 500 or 502 error.

However, if I run the memcache using php test.php directly, I can
connect to memcache server successfully.

I am using php-fpm.

Does anyone encounter the similar issue before?

Thanks,
Yanxin

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

memcache issue

Yanxin Z. May 05, 2011 11:54AM

Re: memcache issue

Igor Sysoev May 05, 2011 12:04PM

Re: memcache issue

Yanxin Z. May 05, 2011 12:12PM

Re: memcache issue

Yanxin Z. May 05, 2011 12:31PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready