I installed memcached like I always do but it's not working! I have it misconfigured somehow.<br><br>PHP sees memcache:<br><br style="font-weight: bold;"><span style="font-weight: bold;">[root@esgut7 /]# php -i | grep memcache
</span><br style="font-weight: bold;">
<span style="font-weight: bold;">memcache</span><br style="font-weight: bold;"><span style="font-weight: bold;">memcache support => enabled</span><br style="font-weight: bold;"><span style="font-weight: bold;">memcache.allow_failover
=> 1 => 1</span><br style="font-weight: bold;"><span style="font-weight: bold;">memcache.chunk_size => 8192 => 8192</span><br style="font-weight: bold;"><span style="font-weight: bold;">memcache.default_port
=> 11211 => 11211
</span><br style="font-weight: bold;"><span style="font-weight: bold;">memcache.max_failover_attempts => 20 => 20</span><br style="font-weight: bold;"><span style="font-weight: bold;">Registered save handlers => files user sqlite memcache
</span><br clear="all"><br>But I get this error when trying to invoke it via the website/apache.<br><br><b>Fatal error</b>: Class 'Memcache' not found in <b>/home/sali/public_html/test.php</b> on line <b>25<br><span style="font-weight: bold;">
<br></span></b>I don't get this error when I run the test.php from the command line as root.<br><br><b><span style="font-weight: bold;"></span><br></b>To be honest, I've seen this before and worked around it somehow...I don't remember how though :(.
<b><br></b><span class="sg"><br></span><br clear="all"><br>-- <br>Suleman Ali<br><a href="http://www.techbeef.com">www.techbeef.com</a>