PHP所需文件:铁匠
我正在将.worker文件上载到ironworker。worker的代码需要(使用require命令)其他php文件。我也需要上传到ironworker吗 换句话说,我是否需要向.worker文件中添加其他内容,以及如何: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
# 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'
目录将包括整个目录,文件将只包括一个文件。您可以在上找到更多信息