Hi Vadim,
Can you please check, for your job's configuration, which node steps you use to run the remote script and verify the path configured? Please remember the following:
"Command" steps will execute a remote command directly to the node.
"Script" steps will execute an inline script. This script will be copied to a temporary directory on your remote node and then executed
"Script file or URL" steps will either download a script located in an URL or use a 'local' script file located in your rundeck server. This file will then be copied to the remote node using the Node File Copier configured for the project for its execution.
Reference:
http://rundeck.org/docs/manual/jobs.html#script-file-stepIf your PHP script file is already located in the remote node, you can use one of the following options; you can reference the path to the script directly within a "Command" step, or use "Script", to create an inline script (e.g Bash) that will execute your remote PHP script.
These are examples using "Command" or “Script” steps:
Example of "command" step that will run a simple "hello world" PHP script.
1. When selecting “add a step”, select “command“:

2. Then you can set the full command syntax to run your PHP script:
Example to run the same PHP script, located in the remote node, via a "Script" step (inline script).
1. When selecting “add a step”, select “Script“

2. Then you can configure the script that will execute the PHP script

Furthermore, in case you have your PHP script locally in your Rundeck server (or an URL accessible via rundeck), the script can be copied to your remote node for its execution:
Example to run the same PHP script, located in rundeck server (local), via an "Script file" step, on a remote node.
1. When selecting “add a step”, select “Script File or URL“

2. Then you can enter the path to the php script and add an invocation string, in order to invoke ‘php’ to run the script

As described above, this file will be copied to the remote node via the default Node File Copier you configured for your project, and then executed on your remote node. In case the script is located in an URL, you can reference its path. As an example

When the job is executed, rundeck will download a copy of the script to your rundeck server, and then copied to the remote node for execution.
Please keep in mind that these examples have only taken into consideration a Linux remote node, additional configuration and/or different paths may be needed for different environments.
Hope it helps.
Eduardo Carrasco