摘要: 原文链接:https://cloud.tencent.com/developer/article/1188636 1.停止mysql数据库 /etc/init.d/mysql stop (或者直接 kill -9 [PID] 杀进程!) 这里的路径填自己mysql安装路径 2.执行如下命令 mysq 阅读全文
posted @ 2019-09-06 18:05 骑着新浪狂奔 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/xujialei0704/article/details/80362602 下载redis,解压,编译: $ wget http://download.redis.io/releases/redis-4.0.6.tar.gz$ tar xzf r 阅读全文
posted @ 2019-09-06 14:30 骑着新浪狂奔 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/Johnson_llguo/article/details/83970798 Cannot find config.m4. Make sure that you run '/usr/local/php/bin/phpize' in the top 阅读全文
posted @ 2019-09-06 14:24 骑着新浪狂奔 阅读(6462) 评论(0) 推荐(0) 编辑
摘要: /etc/init.d/php-fpm restart 阅读全文
posted @ 2019-09-06 11:08 骑着新浪狂奔 阅读(2539) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/shihaiming/p/11044740.html 一、事务的基本要素(ACID) 1、原子性(Atomicity):事务开始后所有操作,要么全部做完,要么全部不做,不可能停滞在中间环节。事务执行过程中出错,会回滚到事务开始前的状态,所有的操作 阅读全文
posted @ 2019-09-05 17:10 骑着新浪狂奔 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/yuanxiang01/article/details/81508699 今天在使用root用户删除服务器上的一个名为default文件夹时,被系统告知:rm: cannot remove ‘default/.user.ini’: Operati 阅读全文
posted @ 2019-09-05 16:01 骑着新浪狂奔 阅读(6260) 评论(0) 推荐(0) 编辑
摘要: 1. php函数中static的使用 php中static的定义语句只会被执行一次,但是它的值会被函数记住,直到程序终止 举个栗子: <?php function test(){ //这个语句只会在该程序运行的第一次调用生效,但是这个值在函数执行结束后会被该函数记住, //也就是说下次执行到这个函数 阅读全文
posted @ 2019-08-29 17:41 骑着新浪狂奔 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 参考链接1:https://justcoding.iteye.com/blog/1366102/ 参考链接2:https://blog.csdn.net/sinat_26204753/article/details/74178117 我使用的是jquery的$.ajax方式进行jsonp请求,方法如 阅读全文
posted @ 2019-08-20 17:38 骑着新浪狂奔 阅读(1420) 评论(0) 推荐(0) 编辑
摘要: 我本地是window系统,用的是phpstudy,解决办法:用phpstudy点击其他选项菜单->打开配置文件->选择vhost-ini(或者找到nginx安装目录,打开vhost.conf),在你的站点配置里 location / { index index.html index.htm inde 阅读全文
posted @ 2019-08-19 10:47 骑着新浪狂奔 阅读(2346) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/u010505805/article/details/77896776 我的环境里php的目录是/usr/local/php/bin,所以: 第一步:vim /etc/profile(编辑环境变量) 可在最后一行敲入命令export PATH=$ 阅读全文
posted @ 2019-08-13 09:37 骑着新浪狂奔 阅读(1154) 评论(0) 推荐(0) 编辑