php-fpm和nginx的reload、restart的区别

2018-04-20 21:39:57 xhs
php-fpm和nginx的 reload、restart的区别 reload ...

php报错Unable to create lock file: Bad file descriptor (9)

2018-10-09 21:45:38 xhs
Tue Oct 9 21:44:29 2018 (23730): Fatal Error Unable to create lock file: Bad file descriptor (9) 原因: tm...

替换Unicode字符,LS

2018-06-08 10:05:42 xhs
//把LS \x2028 去掉 $sjs['yeji'] = preg_replace("/[\x{2028}]+/u",'',$sjs['yeji']);

PHP warning

2017-10-15 21:42:03 xhs
问题,运行PHP时告警 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/libeven...

php上传大文件$_POST为空

2018-10-19 14:38:54 xhs
上传大文件服务端报错,排查了比较久 还是查Google靠谱 upload big file php post data is null https://stackoverflow.com/questions...

开发环境迁virtuabox

2019-03-21 19:18:36 xhs
主要参考 https://segmentfault.com/a/1190000017386868 遇到的问题: 1、没有多余的IP,配不了多个网卡,只能用端口转发 8080 -》80 8081-》443...

php curl CURLOPT_CONNECTTIMEOUT_MS 不起作用

2018-12-02 19:57:01 xhs
php curl CURLOPT_CONNECTTIMEOUT_MS no effect https://stackoverflow.com/questions/14397083/php-curl-curlop...

isset() 的误区

2017-12-05 00:11:40 xhs
线上代码出错了,原因是用错了 isset() ,来判断数组的key是否存在, $arr['real_boss'] = NULL; $res = isset($arr['real_boss']); var_d...

centos7安装php5.3

2019-03-13 15:34:25 xhs
到官网下载php5.3,先用浏览器下载,因为会让你选择哪里的服务器下载 http://jp2.php.net/distributions/php-5.3.28.tar.bz2 下完上传到服务器 解压 ta...