Chapter 8: Troubleshoot by Symptom
PHP Cannot Be Found
If the error says php: command not found or 'php' is not recognized, inspect the environment of the APPX session and its parent service. Confirm the selected executable with command -v php on Linux or where.exe php on Windows. Restart the affected service and reconnect after changing its environment. Test through an absolute executable path to distinguish lookup failure from a broken interpreter.