Comments (2)
I'm assuming you've got it working since you closed the issue, but I thought I'd reply anyway: If you look at the examples (both in the default branch and in the named-workers branch) you'll see that a few files (the config.php and error_handlers.php) are included with require_once() statements. But after that, all the required classes are loaded using the autoloader that's defined in the config.php.
from php-daemon.
yes, i do it like you said and run ok, thanks :)
from php-daemon.
Related Issues (20)
- ON_SHUTDOWN hook not called during automatic restart HOT 1
- Daemon::__destruct() does not call teardown() on all workers and plugins
- Dead worker causing PHP Fatal error: Call to a member function teardown() on a non-object
- Blocking mode - loop_interval not excepting NULL
- tutorial in implementing shaneharter/php-daemon
- Daemon working with rabbitMQ dropping calls
- Endless Restart Loop
- Defunct process HOT 1
- Share memory lock broken
- Run loop stops executing in PHP 5.5.23 after task completes.
- Core_Daemon->getOpt should load console arguments from argv
- Daemon crashes after a certain amount of time HOT 1
- Automatic restart causes file handle to standard log file to remain open. HOT 1
- IRC Application HOT 1
- Infinite loop on teardown workers or tasks.
- Core_Plugin_Ini::offsetSet throws exception even if $offset is valid
- How can i disable worker status message in log file
- Project dead? HOT 4
- undefined call_count HOT 1
- Version 2.2 status/ideas
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 php-daemon.