深入了解xhprof性能分析工具
#前言
这篇文章不是教你如何安装使用xhprof进行性能分析。如果想了解如何安装使用xhprof,网络上文章很多,你也可以看我之前写的两篇文章。
[非侵入式监控PHP应用性能监控分析](http://www.bo56.com/%e9%9d%9e%e4%be%b5%e5%85%a5%e5%bc%8f%e7%9b%91%e6%8e%a7php%e5%ba%94%e7%94%a8%e6%80%a7%
[PHP] Larval 主从读写分离配置
在DB的连接工厂中找到以下代码
.../vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
/**
* Get the read configuration for a read / write connection.
配置一个nginx+php-fpm的web服务器
一、基本信息
系统(L):CentOS 6.9 #下载地址:http://mirrors.sohu.com
Web服务器(N):NGINX 1.14.0 #下载地址:http://nginx.org/en/download.