magento的app/etc/local.xml配置memcached

前端之家收集整理的这篇文章主要介绍了magento的app/etc/local.xml配置memcached前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
<config> <global> <install> <date><![CDATA[Thu,05 Dec 2013 01:42:35 +0000]]></date> </install> <crypt> <key><![CDATA[dddd]]></key> </crypt> <disable_local_modules>false</disable_local_modules> <resources> <db> <table_prefix><![CDATA[]]></table_prefix> </db> <default_setup> <connection> <host><![CDATA[192.168.1.214:3306]]></host> <username><![CDATA[yuanchengsql]]></username> <password><![CDATA[yuanchengsql]]></password> <dbname><![CDATA[magento]]></dbname> <initStatements><![CDATA[SET NAMES utf8]]></initStatements> <model><![CDATA[MysqL4]]></model> <type><![CDATA[pdo_MysqL]]></type> <pdoType><![CDATA[]]></pdoType> <active>1</active> </connection> </default_setup> </resources> <session_save><![CDATA[db]]></session_save> <!-- begin cache config --> <cache> <prefix>alphanumeric</prefix> <backend><![CDATA[memcached]]></backend> <slow_backend><![CDATA[database]]></slow_backend> <memcached> <servers> <server> <host><![CDATA[127.0.0.1]]></host> <port><![CDATA[11211]]></port> <persistent><![CDATA[1]]></persistent> <weight><![CDATA[1]]></weight> <timeout><![CDATA[10]]></timeout> <retry_interval><![CDATA[10]]></retry_interval> <status><![CDATA[1]]></status> </server> </servers> <compression><![CDATA[0]]></compression> <cache_dir><![CDATA[]]></cache_dir> <hashed_directory_level><![CDATA[]]></hashed_directory_level> <hashed_directory_umask><![CDATA[]]></hashed_directory_umask> <file_name_prefix><![CDATA[]]></file_name_prefix> </memcached> </cache> </global> <admin> <routers> <adminhtml> <args> <frontName><![CDATA[admin]]></frontName> </args> </adminhtml> </routers> </admin> </config> 原文链接:https://www.f2er.com/xml/299453.html

猜你在找的XML相关文章