<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 20 Sep 2007, at 20:17, Suleman Ali wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><b>Fatal error</b>: Class 'memcache' not found in<span class="Apple-converted-space"> </span><b>/home/sali/public_html/tp/test.php</b><span class="Apple-converted-space"> </span>on line<span class="Apple-converted-space"> </span><b>29</b><br></span></blockquote></div><div><br class="webkit-block-placeholder"></div>It's quite common (at least in Debian/Ubuntu) to have a separate php.ini file for CLI/CGI and apache SAPIs. Are you sure that memcache is enabled in your apache php.ini? Look in /etc/php5/cli and /etc/php5/apache2.<div><br class="webkit-block-placeholder"></div><div>While we're here, there was mention a while ago that the memcache in pecl  would be updated for consistent hashing - it doesn't seem to have happened. Any ideas when it might?</div><div><br class="webkit-block-placeholder"></div><div>Marcus<br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><div style="">-- </div><div style="">Marcus Bointon</div><div style="">Synchromedia Limited: Creators of <a href="http://www.smartmessages.net">http://www.smartmessages.net</a>/</div><div style="">UK resellers of info@hand CRM solutions</div><div style="">marcus@synchromedia.co.uk | <a href="http://www.synchromedia.co.uk">http://www.synchromedia.co.uk</a>/</div></div><br class="Apple-interchange-newline"></span></span></span> </div><br></div></body></html>