Copy $phpApplication = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ PhpApplication ();
$phpApplication -> setRoot ( '/Users/apple/nginx-unit-examples/php' ) ;
$phpApplication -> setScript ( 'index.php' ) ;
Copy $perlApplication = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ PerlApplication ();
$perlApplication -> setScript ( '/Users/apple/nginx-unit-examples/perl/index.psgi' ) ;
Copy $pythonApplication = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ PythonApplication ();
$pythonApplication -> setPath ( '/Users/apple/nginx-unit-examples/python' ) ;
$pythonApplication -> setModule ( 'index' ) ;
Copy $nodeJs = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ NodeJsApplication ();
$nodeJs -> setWorkingDirectory ( '/Users/apple/nginx-unit-examples/nodejs' ) ;
$nodeJs -> setExecutable ( 'app.js' ) ;
Copy $java = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ JavaApplication ();
$java -> setWebApp ( '/Users/apple/nginx-unit-examples/java' ) ;
Copy $go = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ GoApplication ();
$go -> setWorkingDirectory ( '/Users/apple/nginx-unit-examples/go' ) ;
$go -> setExecutable ( 'app' ) ;
Copy $wasm = new \ Pavlusha311245 \ UnitPhpSdk \ Config \ Application \ WebAssemblyApplication ();
$wasm -> setModule ( '/Users/apple/nginx-unit-examples/rust/wasm_on_unit/target/wasm32-wasi/debug/wasm_on_unit.wasm' ) ;
$wasm -> setRequestHandler ( 'uwr_request_handler' ) ;
$wasm -> setMallocHandler ( 'luw_malloc_handler' ) ;
$wasm -> setFreeHandler ( 'luw_free_handler' ) ;
$wasm -> setModuleInitHandler ( 'uwr_module_init_handler' ) ;
$wasm -> setModuleEndHandler ( 'uwr_module_end_handler' ) ;