centos/linux/php-fpm服务器配置与优化

业务假设:阿里云 centos7+nginx+php-fpm+mysql 第一章 centos调优 vi /etc/sysctl.conf net.ipv4.tcp_max_tw_buckets = 6000 net.ipv4.tcp_sack = 1 net.ipv4.tcp_window_scaling = 1 net.i...

2017/07/18 17:17
720
php与异步任务

GearMan - this answer was written in 2009, and since then GearMan looks a popular option, see comments below. ActiveMQ if you want a full blown open source message queue. ZeroMQ...

2017/05/23 21:34
82
Run php script as daemon process

Supervisor 推荐!活跃度比较高。但是目前依赖Python upstart 类似init的替换品 daemon tools php simple daemon linux tool: start-stop-daemon 比较简单的一种 nohup php script.php & 不可...

2017/03/04 14:00
57
php fsocket 异步调用 导致 nginx 499错误的原因

fastcgi_ignore_client_abort on; php-fpm加上这个参数就可以忽略client早于server abort的问题. nginx+php-fpm经测试:此参数并不能忽略user abort的信号,php代码仍然不会执行,只是Nginx...

2017/02/20 17:35
672
如何制作一份接口文档(PHP版本)

如何制作一份接口文档(PHP版本)

2016/06/12 17:24
445
安装指定版本php

安装指定版本php

php
2016/02/21 21:40
236
让CodeIgniter支持数据库读写分离

CodeIgniter PHP框架现在还不支持数据库读、写分离,网上介绍的方法在实际业务上实用性不高,本文试图从另外一个方向解决CodeIgniter的数据库读、写分离问题。

给PHPSTORM添加XDEBUG调试功能

1、运行环境 nginx 1.0.14 php with fpm-cgi 5.5.9 mac os X 2、安装步骤 1)install xdebug wget http://xdebug.org/files/xdebug-2.2.3.tgz tar xzvf xdebug-2.2.3.tgz && cd xdebug-2.2.3...

2014/04/07 12:10
3.9K

没有更多内容

加载失败,请刷新页面