I have linux ami running on ec2 instance, I am trying to install memcached but it failed display in "phpinfo()", here is what i have done so far.
installed memcached by :
yum install memcached
Added following line in my php.ini
extension=memcached.so
started memcached:
service memcached start
restarted apache
service httpd restart
When i do phpinfo(), memcached is not listed. please help.
You have installed the daemon, but not the php extension. You have two options.
yum install php-pecl-memcached
.pecl install memcached
. You may need to install gcc and php-devel packages for this option to work.