Hi,
I am trying to install memcached in Ubuntu 10.04. I have followed the
instructions from the site
http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/
to installation.
After installation I can access memcached thru telnet and I executed
stats command. It is working properly. But when I am trying to connect
thru php it is not working. Following is my php file.
[code]
<?php
$memcache = new Memcache();
?>
[/code]
It return the error “Fatal error: Class 'Memcache' not found in /home/
hysanew/web/memcachetest.php on line 5”.
In my php.ini file and memcached.ini I have added “extension =
memcached.so”.
But when I restart the apache server it log an error in the error log
as “PHP warning : Module ‘memcached’ already loaded in Unknown on line
0.
Can somebody help me regarding this issue?
Regards
Shihab