Terry - 专注外贸B2C

GitHub地址:https://github.com/fancyecommerce

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://blog.csdn.net/terry_water/article/details/17160567
个人分类: MAGENTO
相关热词: magento
上一篇memcached的安装
下一篇遍历memcached所有的key
想对作者说点什么? 我来说一句

magento自定义后台配置 示例

2012年09月26日 5KB 下载

没有更多推荐了,返回首页

关闭
关闭