Enabling and setting memcached in wdcp series tutorials

Source: Internet
Author: User

Starting with wdcp2.2, The memcached installation and background settings are integrated.
However, to keep the minimum and simplest system, it is not installed by default. You only need to install it.
Although memcached is used more and more, some or some of them are unavailable, so it is not installed by default.

Set
The details are as follows:

If you have not installed memcached, you will be prompted not to install it.

Prompt after installation


Set, save, and restart to take effect.

How can I determine whether memcached is supported?
You can use this PHP function to view it, as shown in figure
Vi/www/web/default/phpinfo. php
<?
Phpinfo ();
?>
Open it in IE, as shown in figure
Http: // ip/phpinfo. php

If the search result is displayed, memcached is supported.




The specific installation is as follows:
Install memcache
Http://down.wdlinux.cn/in/memcached_ins.sh wget-c
Sh memcached_ins.sh
Start or stop a service
Service memcached start | stop | restart
Or you can start it in the background.

This article is excerpted from wdlinux Forum http://www.wdlinux.cn/bbs/ reprint please note!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.