Error installing memcached on PHP

2009-08-17 Thread Daniel Miranda
Hello, im having an error trying to install memcached on PHP/windows 32. when i use the command pear install pecl/memcached the following lines are shown: downloading memcached-1.0.0.tgz ... Starting to download memcached-1.0.0.tgz (22,281 bytes) done: 22,281 bytes 4 source files, build

Re: try catch don't seems to work

2009-08-17 Thread Raymond Steigerwalt
You should never rely on memcache. Your Site -> Memcache -> (to see if data is available. If no data is available or memcache is not functional, skip) Database (return result from database, and if memcache is available, store the information) On Mon, Aug 17, 2009 at 5:45 AM, john

Re: Catch at least 1 connect error

2009-08-17 Thread Ren
On Aug 17, 11:24 am, johnny wrote: > I'm a newby and just found out that try - catch is not triggered from > memcache php calls. > > Maybe there is a logic but the point is that I got error also with: > > $mc = new Memcache; > $mc->connect('localhost', 11211) or die("Could not connect"); > > Th

Issue 74 in memcached: configure script incorrectly identifies sparc v9 as little endian, selecting incorrect hash function.

2009-08-17 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 74 by robert.coles: configure script incorrectly identifies sparc v9 as little endian, selecting incorrect hash function. http://code.google.com/p/memcached/issues/detail?id=74 What steps will reproduce the problem? 1. com

Re: Catch at least 1 connect error

2009-08-17 Thread Brian Moon
RTFM http://us2.php.net/manual/en/function.memcache-connect.php See "Return Values" Brian. http://brian.moonspot.net/ On 8/17/09 5:24 AM, johnny wrote: I'm a newby and just found out that try - catch is not triggered from memcache php calls. Maybe there is a logic but the point is

Re: try catch don't seems to work

2009-08-17 Thread johnny
> To my knowledge it won't trigger an exception on connection failure,   > because it really shouldn't.  If memcache isn't present, your   > application shouldn't stop executing.   I'm a newby and I got the same problem. Ok, I just found out I cannot catch any exception. But if so and if I got o

Catch at least 1 connect error

2009-08-17 Thread johnny
I'm a newby and just found out that try - catch is not triggered from memcache php calls. Maybe there is a logic but the point is that I got error also with: $mc = new Memcache; $mc->connect('localhost', 11211) or die("Could not connect"); That means my users will see a broken application - in