摘要: https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_1 2、设置支付平台密钥和下载安全证书 https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapt 阅读全文
posted @ 2017-11-08 10:18 wcu1117 阅读(6244) 评论(0) 推荐(0) 编辑
摘要: 1、进入MySQL配置目录允许其他IP可以链接 2、远程连接还是失败,查看日志发现会把访问IP去查找域名,关闭DNS解析 3、链接仍然失败,查看日志发现关闭DNS解析后找不到自己域名 把数据库里面Mysql库里面的user表的主机改成IP 然后重启下数据库服务器,链接成功 阅读全文
posted @ 2017-09-04 23:00 wcu1117 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 原文参考:http://www.linuxidc.com/Linux/2017-05/144068.htm 系统是的Ubuntu 16,修改以下配置 阅读全文
posted @ 2017-09-01 11:29 wcu1117 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 参考原文 : http://www.knowsky.com/888354.html 1、安装好apache2之后,手动命令启用 执行后,会提示OK和重启Apache命令(/etc/init.d/apache2 restart) 2、需要修改/etc/apache2/sites-available/0 阅读全文
posted @ 2017-08-30 17:16 wcu1117 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.安装之前先更新系统 1 sudo apt update 2.安装Apache2 1 sudo apt install apache2 3.安装PHP 1 sudo apt install php 2 sudo apt-get install libapache2-mod-php 4.安装MySQ 阅读全文
posted @ 2017-08-29 17:23 wcu1117 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1、先申请支付注册签约开通APP支付等。 https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.4Ys9VY&treeId=204&articleId=105297&docType=1 2、引入PHP SDK包 https:// 阅读全文
posted @ 2017-08-29 11:12 wcu1117 阅读(652) 评论(0) 推荐(0) 编辑
摘要: 原文在这里 : http://hmw.iteye.com/blog/1190827 tp自带的api,get请求接口 2、 实现接口请求处理和请求处理的方法‘’ 阅读全文
posted @ 2017-06-26 13:03 wcu1117 阅读(3279) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have 阅读全文
posted @ 2017-06-16 18:24 wcu1117 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the 阅读全文
posted @ 2017-06-16 16:16 wcu1117 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 原文:http://chenzhou123520.iteye.com/blog/1925196 linux上启动Memcache报错: Shell代码 [root@localhost memcached]# ./bin/memcached -d -m 2048 -p 11211 -u root ./ 阅读全文
posted @ 2017-06-01 20:54 wcu1117 阅读(4047) 评论(1) 推荐(0) 编辑