X5开启微信登录,需要开启Redis,怎么开启?
X5开启微信登录,需要开启Redis,怎么开启?还需要设置global. 文件,怎么改呢,求指导1 贡献最佳答案
config_global.php 修改以下内容,开启 Redis:$_config['memory']['redis']['server'] = '127.0.0.1';$_config['memory']['redis']['port'] = 6379;
CNZZVIP发表于7 天前
[*]详细答案 >
刚好今天升级后也遇到这个问题,同问求答
config_global.php 修改以下内容,开启 Redis:$_config['memory']['redis']['server'] = '127.0.0.1';$_config['memory']['redis']['port'] = 6379;
.ce-block { margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content { /* max-width:calc(100% - 50px) */ margin-left: auto; margin-right: auto;}.ce-paragraph { line-height: 1.6em; outline: none; text-indent: 2em; font-size: 16px;}.ce-paragraph--right { text-align: right;}.ce-paragraph--center { text-align: center;}.ce-paragraph--left { text-align: left;}.ce-paragraph--justify { text-align: justify;}.ce-paragraph-text-indent { text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{ margin-top: 0;}.ce-paragraph p:last-of-type{ margin-bottom: 0;}.svg-icon { width: 1em; height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect { fill: #4691f6;}.svg-icon circle { stroke: #4691f6; stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;} Config_global_Default.php文件里面有配置的说明。
.ce-block { margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content { /* max-width:calc(100% - 50px) */ margin-left: auto; margin-right: auto;}.ce-paragraph { line-height: 1.6em; outline: none; text-indent: 2em; font-size: 16px;}.ce-paragraph--right { text-align: right;}.ce-paragraph--center { text-align: center;}.ce-paragraph--left { text-align: left;}.ce-paragraph--justify { text-align: justify;}.ce-paragraph-text-indent { text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{ margin-top: 0;}.ce-paragraph p:last-of-type{ margin-bottom: 0;}.svg-icon { width: 1em; height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect { fill: #4691f6;}.svg-icon circle { stroke: #4691f6; stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;} 默认文件就是这样的,开启这个,需要主机支持的。
我用的虚似主机,没办法开启,网上查了一大堆,也是被迷得三晕五六。你所说的,只是程序上打开这个而已。 啥年代了,不要用虚拟主机了,宝塔一键安装的事儿 晕,你这一回复, 我倒是打了自己一下。省钱,这是最主要的。国内的,我在阿里,近十年的域名(人生第一个域名)为了备案转到阿里,却给我同一个配制的主机,国内还没有国外快,问题却是学着国外,一个邮件来一个邮件去的,一个月,啥都没解决,无数次的回复,你的配制不够,要升级,加钱。呵。气得当时,又把域名转到国外。至此,域名在国内不给解析或屏了。没法,放弃,因为,万网是被阿里收购的(说到这,想到政府都在说垄断,嘿,这些企业做的就是垄断事业)。
再说腾讯,拿个执照,免费一块钱搞个域名,却,近一年时间里,在浏览器里,找不到丁点网站信息。又放弃了, 不要了。
中国人啦。外国十块的东西,它可以免费。但分拆成百个收费项目。呵。
支持国货,就是它妈的资本,政权,在扯蛋。
我是草,在它们面前想割就隔,准备很多方法方案。
可我只活这几十年而已,不信党,不信权,只信看到的,见到的。 如果你的号还有权益,腾讯、阿里都能买到小于100块钱一年的lighthouse
就这难道还能比虚拟机便宜?
直接一个完整权限的服务器,装啥都行,不比虚拟机只给你一个账号强100倍? 回复湖中沉说过,腾讯的东西,一块的域名我放弃的原因是腾讯在近一年时间,连个自然收录的条件都不给(这些指不定是要收费的),建站没有流量的话,真是在玩。可不管怎么玩,也想看看真实的收录(而不是把这些换成其它类目来收费)是吧。
一块钱的域名便宜吧,那百来块的主机又能带来什么呢(有私人二十块的我也用过)。想到他们客服为此专门打过电话过来,为什么不继续使用域名,主机(当时还给个免费的啥机,可啥都没有,我习惯了虚似机,不会搭建配制啊),聊了个把小时。
还有,国内一般与备案有关,没备案的,说不定不给流量,解析,等。qq,微信,没备案,搞个会员登录都不行。
最后总结,反正是没有流量,为什么不搞个省心的,又为什么去找所谓的国货 说了一堆巴拉巴拉,还是自己矬,又不会学习,杭马和深马上有海外轻量云服务器,国内访问首尔最快了,1年才7 80块钱,真不相信国外哪个虚拟主机1年费用还有比这便宜的。
页:
[1]