Comments (6)
看错误是在 null 上调用方法导致报错的吧
from rdebug.
这个是php5.6的语法,在php7上面执行不了
确实最后的报错是在redis的实例上,不知道会不会是上面那个报错导致的
from rdebug.
这是你代码的问题,在 php7 环境下使用 __autoload。
midi 使用 composer 自动加载,不存在 __autoload 调用。
from rdebug.
其实不是我想在7环境下使用autoload,midi只有在php7版本可以用,然后我就在7上面试着运行了下,但是我们的php版本是5,所以问问大佬,能不能出个兼容5的版本
from rdebug.
运行 midi 可以用 php7,跑你的代码可以用 php5.6。
试一下在项目目录下 .midi/config.yml 中指定 php 二进制路径:
php:
bin: /path/to/php5.6/bin/php
更多细节见 https://github.com/didi/rdebug/blob/master/doc/midi/Config.md
from rdebug.
收到,我去试试
from rdebug.
Related Issues (20)
- 怎么解决重放过程中id生成器生成的不确定性 HOT 3
- java语言支持吗 HOT 3
- 流量录制,请求后没有php-fpm worker子进程,lsof 没找到加载koala-record.so,session文件夹也没有写入文,koala的debug日志提示说recorded,怎么回事 HOT 11
- kafka请求的支持 HOT 3
- alpine 3.10编译报错 HOT 2
- 请问这个框架可以作为独立的测试框架来使用吗? 与待测网元完全解耦, 不关心语言和实现 HOT 3
- 支持mongoDB的mock嘛? HOT 1
- 生成so文件报缺失pakage错误
- 考不考虑出一个指定倍速回复流量的功能?
- Linux 使用 midi 回放多个本地文件时进程卡住
- ERROR: ld.so
- 录制的对象是什么,怎么在指令里没有体现出来?
- 可以支持在安卓平台下的录制重放吗?
- 能够提供一个录制http的例子吗? HOT 3
- Can you make a Dockerfile? HOT 4
- How to play back the frequently changing API interface HOT 1
- 支持nodejs吗? HOT 1
- Docker版本 HOT 1
- 是否支持golang? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdebug.