1.json_decode() json_decode( string $json, bool $assoc = false, int $depth = 512, int $options = 0 ): mixed as…
【转载】Windows平台下Doxygen+GraphViz+HtmlHelp自动生成函数调用关系图
转自:https://blog.csdn.net/u010740725/article/details/51387810 https://blog.csdn.net/zpqiatongxueshaonian/articl…
【转载】在PHP中将对象数据写入日志
转自:https://www.cnblogs.com/rxbook/p/10647090.html 有时候在调试项目的时候,需要将一个对象或者对象的实例记录下来观察数据,如果用json_encode可能拿到的是空数据, …
【转载】ThinkPHP5思维导图:
https://blog.csdn.net/weixin_36986228/article/details/88644226 https://blog.csdn.net/qq_41318650/article/detai…
【转载】phpstorm使用代码片段Live Templates
转自:https://www.jianshu.com/p/7d4fffc944e1?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes…
【转载】PSR规范0-4整理
转自:https://www.cnblogs.com/vinter/p/9505154.html PSR规范 psr规范 引言: PSR 是 PHP Standard Recommendations 的简写,由 PHP …
【转载】PHPStorm+XDebug进行调试图文教程
转自:https://www.jb51.net/article/86426.htm 一、XDebug安装配置 (1)下载XDebug下载地址:http://www.xdebug.org/必须下载跟机器上安装的php匹配的…
【转载】解决Chrome插件安装时出现的“程序包无效”问题
转自:https://blog.csdn.net/weixin_46165569/article/details/105748806 问题描述 谷歌浏览器安装插件时提示程序包无效 解决方案 将.crx后缀文件改为.rar…
【原创】Code Sniffer安装并配置phpstorm使用PSR2规范
1.composer下载:https://docs.phpcomposer.com/00-intro.html#Manual-Installation 2.切换镜像:composer config -g repo.pac…
【转载】CGI、FastCGI和PHP-FPM关系图解
转自:https://www.awaimai.com/371.html 在搭建 LAMP/LNMP 服务器时,会经常遇到 PHP-FPM、FastCGI和CGI 这几个概念。如果对它们一知半解,很难搭建出高性能的服务器。…
【转载】nginx upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected
转自:https://www.cnblogs.com/attitudeY/p/6798956.html 更换Apache扑向Nginx,刚搭建完WNMP,nginx能访问php页面 但是访问现有开发项目报错 1 [err…
【转载】gitee如何选择开源许可证?
转自:https://www.ruanyifeng.com/blog/2011/05/how_to_choose_free_software_licenses.html 如何为代码选择开源许可证,这是一个问题。 世界上的…
【转载】git 使用 tortoisegit 解冲突
转自:https://www.cnblogs.com/jasongrass/p/11199039.html git 解冲突需要注意的问题 弄清除冲突双向的修改意图,并在解决冲突时,同时处理两边的意图。 举例说明 A.tx…
【转载】使用TortoiseGit操作分支的创建与合并
转自:https://blog.csdn.net/li522021642/article/details/80691321 转自:https://www.cnblogs.com/hbujt/p/5554038.html …
【转载】Windows下TortoiseGit安装与配置详细教程
转自:https://www.jb51.net/softjc/711629.html 同样,从TortoiseGit官网页面下载64位或者32位的安装程序。 下载地址:https://tortoisegit.org/do…
解决git pull/push每次都需要输入密码问题
如果git clone的下载代码的时候是连接的https://而不是git@git (ssh)的形式,当操作git pull/push到远程的时候,总是提示我们输入账号和密码才能操作成功,频繁的输入账号和密码会很麻烦。 …
【原创】MySQL limit优化
百万级别表的limit优化: select * from code order by id limit 1000000,10 执行时间:0.622 select a.* from code a inner join (s…
MySQL中的USING
USING等价于join on中的on,联合查询时会用到 例如: select a.id,b.name from table_a a join table_b b on a.id = b.id 等价于: select a…
【转载】解决mysql导入数据文件过慢的问题
转自:https://www.cnblogs.com/rangzhi/p/12195708.html 目前遇到一个问题,mysql使用source命令导入 *.sql 数据文件时,运行的很慢,大概一秒钟插入个一两百条左右…
【原创】lnmp一键安装环境下,运行thinkphp5.1出现404错误
起初仿照默认文件server中的写法,引用的是enable-php.conf,但这个配置不支持tp5的pathinfo形式的url,因此改为引入enable-php-pathinfo.conf即可。 enable-php…
【转载】lnmp open_basedir restriction in effect 错误
转自:https://blog.csdn.net/qq_28450919/article/details/81879521 准备把laravel项目部署到lnmp环境的时候出现了500错误 先开启 php.ini 中的错…
【转载】nginx 中 fastcgi_pass配置为unix:/tmp/php-fpm.sock与127.0.0.1:9000区别
转自:https://blog.csdn.net/resilient/article/details/109850729 nginx中的 fastcgi_pass为什么有时候是unix:/tmp/php-fpm.sock…
nginx unknown directive " xxx" in 解决
nginx.conf里面报错行号的前一行有空格,去掉即可。
【原创】CentOS iptables注意事项
以往用centos,防火墙都是firewall,一直没有接触iptables。 这次用虚拟机安装测试CentOS系统后,vsftpd启动,selinux、firewalld关闭,ftp却无论如何连接不上,一直提示连接超时…
【转载】提高千万级别的数据库查询效率
转自:https://www.cnblogs.com/peke/p/8036172.html 1)数据库设计方面: a. 对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建…
【转载】PHP之内置Web服务器
转自:https://blog.csdn.net/weixin_29408705/article/details/115128200 前言 PHP从5.4开始,就提供了一个内置的web服务器。 这个主要是用来做本地的开发…
【转载】使用 Laravel Valet 做开发
转自:https://blog.csdn.net/weixin_34137799/article/details/89066827 转自:https://www.sohu.com/a/191676313_470018 L…
【转载】超详细的 Vagrant 上手指南
转自:https://zhuanlan.zhihu.com/p/259833884 搭建 Linux 虚拟机,别再用 VirtualBox 从 .iso 文件安装了。 概述 2020 年了,也许你已经习惯了 docker…