Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/282.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP所需文件:铁匠_Php_Heroku_Ironworker - Fatal编程技术网

PHP所需文件:铁匠

PHP所需文件:铁匠,php,heroku,ironworker,Php,Heroku,Ironworker,我正在将.worker文件上载到ironworker。worker的代码需要(使用require命令)其他php文件。我也需要上传到ironworker吗 换句话说,我是否需要向.worker文件中添加其他内容,以及如何: # define the runtime language runtime "php" # exec is the file that will be executed: exec "hello.php" 其中:hello.php将包含以下语句: require_once

我正在将.worker文件上载到ironworker。worker的代码需要(使用require命令)其他php文件。我也需要上传到ironworker吗

换句话说,我是否需要向.worker文件中添加其他内容,以及如何:

# define the runtime language
runtime "php"
# exec is the file that will be executed:
exec "hello.php"
其中:hello.php将包含以下语句:

require_once 'bye.php';

对。IronWorker在Iron.io的服务器上运行,因此需要上传所有依赖项

您可以使用
dir
file
命令在工作文件中执行此操作:

dir 'path/to/dir'
file 'path/to/file.php'

目录将包括整个目录,文件将只包括一个文件。您可以在上找到更多信息。

是。IronWorker在Iron.io的服务器上运行,因此需要上传所有依赖项

您可以使用
dir
file
命令在工作文件中执行此操作:

dir 'path/to/dir'
file 'path/to/file.php'
目录将包括整个目录,文件将只包括一个文件。您可以在上找到更多信息