phpstudy
惯性-给力
IT工作者,喜欢研究程序。
展开
-
windows10 php 安装扩展redis 遇到的坑
然后在这两个网址中下 https://windows.php.net/downloads/pecl/releases/igbinary/2.0.8/ https://windows.php.net/downloads/pecl/snaps/redis/3.1.4rc2/ 下载好后php_igbinary.dll、 php_igbinary.pdb、php_redis.dll、php_...原创 2019-01-05 21:56:23 · 955 阅读 · 0 评论 -
redis 简易并发处理
$redis = new \Redis(); $redis->connect('127.0.0.1',6379); $password = '123456'; $redis->auth($password); $mobile='1500000000'.rand(0,9); $number=10; //瓶颈 $length=$redis->lLen("mobil...原创 2019-01-06 19:37:13 · 268 阅读 · 1 评论