how can install memcached in directadmin ?

im not found install memcached on directadmin
It's that same install like on others setup. And remember that memcached is read/write for everyone, don't have ACL (important if you want this not for yourself but for many clients).

Some kind of built-in memcached is in MySQL from 5.6.6
In CustomBuild you have mysql 5.6.11
 
im search not found topic for how to install memcached
please help
my sql version : MySQL 5.1.65
and can upgrade to 5.5..
 
The memcached daemon can be installed either from sources: http://code.google.com/p/memcached/wiki/NewInstallFromSource
or from package system of your OS: http://code.google.com/p/memcached/wiki/NewInstallFromPackage

The way you choose to install memcached depends only on your personal preferences, and is not limited or regulated by directadmin any way.

The memcache extension to PHP can be installed either manually from sources, or from PECL:

http://www.php.net/manual/en/memcache.installation.php
http://pecl.php.net/package/memcache

Generally it's the same as shown here in the step 1):

http://help.directadmin.com/item.php?id=400 (just replace apc with memcache)
 
They are different, and used for different tasks:


What is Memcached?


Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.


http://memcached.org/





Introduction into APC

The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.

http://www.php.net/manual/en/intro.apc.php




More information and readings:
- http://www.slideshare.net/FordAntiTrust/php-performance-with-apc-memcached
- http://www.mysqlperformanceblog.com/2006/09/27/apc-or-memcached/
- http://stackoverflow.com/questions/815041/memcached-vs-apc-which-one-should-i-choose
 
when go to this directory : cd APC-3.1.13 and run this command : ./configure --with-php-config=/usr/local/bin/php-config
recived this error : -bash: ./configure: No such file or directory
where im run this command ? ./configure --with-php-config=/usr/local/bin/php-config
 
You should start the guide from the beginning once more time, if you have no ./configure then you failed previous steps.
 
after run this command : /usr/local/bin/phpize
again recived error
please see atachhed picture
 

Attachments

  • pic.png
    pic.png
    20.8 KB · Views: 154
after run this command : /usr/local/bin/phpize


Your phpize did not complete with success. Did you read what it printed? Note, if you have no experience and do not have bases in Linux Administrating, you'd better hire somebody to do the job for you. If you still want to do it yourself, then you'd better either learn English, or use google to translate to your language all messages the system prints. As it shows the error which appeared on running phpize.
 
I installed on Ubuntu
# apt-get install memcached
# apt-get install autoconf
# pecl install memcache

Added this line to php.ini
"extension=memcache.so"

Restart Apache
 
Back
Top