php-cp icon indicating copy to clipboard operation
php-cp copied to clipboard

pdo and redis tcp connect proxy

Results 21 php-cp issues
Sort by recently updated
recently updated
newest added

现在用的是php-cp1.5.0 目前看服务是正常运行的。但是用gd调试的时候发现有些异常。跟php-cp有关。所以想问问你们有测过php7.1下的兼容吗

试了一下 mutli 报错 PHP Fatal error: redisProxy::__call(): you send the request to pool worker ,but the worker is died in XXX.php on line ## 错误指的那行,就是 $redis->multi() 所在行

执行 pdoProxy::query($sql); sql参数是一个实现 __toString() 方法的对象时, 出现段错误

需要密码验证的情况怎么办呢

重现步骤如下: 1. 测试环境: thinkphp5.0.7 php7.0.14 mysql :5.7.16 2.修改 \thinkphp\library\think\db\Connection.php 301行: ` if($config["use_connect_pool"]){ $this->links[$linkNum] = new \pdoProxy( $config['dsn'], $config['username'], $config['password'],$params); }else{ $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params); } // $this->links[$linkNum]...

add function pool_server_status

配置中是否可以直接修改默认的最大最小连接数?因为项目中使用的连接比较多,每个单独配置会配置很多内容

PHP version 7.0.9, build with: `$ ./configure --enable-debug --enable-maintainer-zts` Then, rebuild php-cp, make clean, execute phpize, then make. Got error as picture shows. ![php-cp-bug](https://cloud.githubusercontent.com/assets/1150224/23011971/c4496f24-f45e-11e6-8247-bb914f6b4733.png) I've read msgpack7/swoole_serialize.c where error occured....

1. phpize 2../configure 3.make mac-share:php-cp-php7 wanmin$ sudo make Password: /bin/sh /Users/wanmin/Downloads/php-cp-php7/libtool --mode=compile cc -I. -I/Users/wanmin/Downloads/php-cp-php7 -DPHP_ATOM_INC -I/Users/wanmin/Downloads/php-cp-php7/include -I/Users/wanmin/Downloads/php-cp-php7/main -I/Users/wanmin/Downloads/php-cp-php7 -I/usr/local/Cellar/php70/7.0.5/include/php -I/usr/local/Cellar/php70/7.0.5/include/php/main -I/usr/local/Cellar/php70/7.0.5/include/php/TSRM -I/usr/local/Cellar/php70/7.0.5/include/php/Zend -I/usr/local/Cellar/php70/7.0.5/include/php/ext -I/usr/local/Cellar/php70/7.0.5/include/php/ext/date/lib -I/Users/wanmin/Downloads/php-cp-php7/include -DHAVE_CONFIG_H -Wall -pthread -g...

我不知道在实际项目中对连mongo有没有需求,如果有的话,我有兴趣参与