<?php
require_once __DIR__ . '/../vendor/autoload.php';
$config = new ConfigurationAggregate;
$config->addConfigurations(
new AmqpConfiguration,
new ExecutableConfiguration(HelloWorldQueueExecutable::class, 'helloworld')
);
$manager = new ExecutableManager($config);
$router = new Router($manager);
$router->start();
// When we receive 'helloworld' over websockets, it's contents are put in the 'helloworld' queue (configurable)
// All you need is a worker (seperate mini-lib with simple API) to respond to this
Warning: require_once(): open_basedir restriction in effect. File(/in/../vendor/autoload.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/81I7G on line 3
Warning: require_once(/in/../vendor/autoload.php): Failed to open stream: Operation not permitted in /in/81I7G on line 3
Fatal error: Uncaught Error: Failed opening required '/in/../vendor/autoload.php' (include_path='.:') in /in/81I7G:3
Stack trace:
#0 {main}
thrown in /in/81I7G on line 3
Process exited with code 255.
Output for 8.0.13
Warning: require_once(/in/../vendor/autoload.php): Failed to open stream: No such file or directory in /in/81I7G on line 3
Fatal error: Uncaught Error: Failed opening required '/in/../vendor/autoload.php' (include_path='.:') in /in/81I7G:3
Stack trace:
#0 {main}
thrown in /in/81I7G on line 3
Process exited with code 255.
Warning: require_once(/in/../vendor/autoload.php): failed to open stream: No such file or directory in /in/81I7G on line 3
Fatal error: require_once(): Failed opening required '/in/../vendor/autoload.php' (include_path='.:') in /in/81I7G on line 3
Process exited with code 255.
Warning: require_once(): open_basedir restriction in effect. File(/in/../vendor/autoload.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/81I7G on line 3
Warning: require_once(/in/../vendor/autoload.php): failed to open stream: Operation not permitted in /in/81I7G on line 3
Fatal error: require_once(): Failed opening required '/in/../vendor/autoload.php' (include_path='.:') in /in/81I7G on line 3
Process exited with code 255.
Output for 7.1.20, 7.2.6
Warning: require_once(): open_basedir restriction in effect. File(/in/../vendor/autoload.php) is not within the allowed path(s): (/tmp:/in) in /in/81I7G on line 3
Warning: require_once(/in/../vendor/autoload.php): failed to open stream: Operation not permitted in /in/81I7G on line 3
Fatal error: require_once(): Failed opening required '/in/../vendor/autoload.php' (include_path='.:') in /in/81I7G on line 3
Process exited with code 255.