memcache issue

Igor Sysoev igor at sysoev.ru
Thu May 5 20:01:29 MSD 2011


What is in error_log ?

--
Igor Sysoev

05.05.2011, в 19:52, "Yanxin Z." <lists at ruby-forum.com> написал(а):

> 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 at nginx.org
> http://nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list