Comments (8)
139是进程收到SIGSEGV信号推出了,应该是Libevnet扩展coredump了。
PHP7的Libevent扩展还没stable,等等再用吧。
或者用ev扩展试下(注意php7版本的ev也没stable)
from workerman.
那目前就暂时用不了libevent咯?
from workerman.
PHP7 目前还暂时用不了libevent。小于PHP7的版本可以用
from workerman.
哦,好的。忘了是 reusePort才需要php7
from workerman.
https://github.com/gophp7/gophp7-ext/wiki/extensions-catalog
为什么不能呢?
from workerman.
PHP7用户可以用Event扩展。注意:Event扩展只支持PHP 5.4+。
libevent扩展,最后更新时间为2013年5月22号,不可能有考虑PHP 7兼容性,不推荐在 PHP 7上使用。
或者使用ev扩展,新版本也有考虑 PHP 7兼容性。
@walkor 建议Workerman\Events
里增加对 Event 扩展的支持,并在文档中优先推荐使用这个扩展。
from workerman.
@walkor 如果启用 Event 扩展支持,示例程序代码Applications/*/Event.php:workerman-chat,workerman-todpole的 Event 类名需要更改成其他名称,或者加上 namespace 以防命名冲突。
from workerman.
感谢 @joelhy 的建议
workerman已经支持了ev扩展。
Event 扩展也会支持,具体时间还没定。
GatewayWorker框架已经支持自定义Event.php的类名,可以避免冲突,但是默认类名仍然是Event,如果要支持Event扩展,还是要兼容下。
from workerman.
Related Issues (20)
- change worker after onMessage event HOT 3
- Question: What http workers do ? HOT 1
- How to start script many times at same time HOT 2
- Kill worker in linux HOT 4
- From Ratchet to Workerman HOT 1
- Error package because of receiving data before handshake HOT 3
- Restrict access by origin domain and limit the number of connections HOT 1
- Implementation of the onError() handler HOT 1
- Param sameSite in the $response->cookie() should be a string HOT 1
- v5版本使用swow发生文件不存在异常 HOT 3
- [BUG] 监听[::]22348地址,REMOTE_ADDR获取不到客户端ip HOT 1
- Run Workerman in daemon mode with Windows HOT 2
- Estrange behavior in composer require HOT 1
- runtime test HOT 2
- add a watch command
- ssl secure connection HOT 1
- Transferring data between workers HOT 5
- What different between Protocols\Ws vs Protocols\Websocket ? HOT 2
- TCP connection->send always returns null HOT 1
- Using this as Radius Server HOT 7
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 workerman.