0

here is the settings.json file on vscodium

{"php.executables": {"v8.3.17": "/usr/bin/php"}}

when I try to run it:

\[Error: spawn php ENOENT
at ChildProcess.\_handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\] {
errno: -2,
code: 'ENOENT',
syscall: 'spawn php',
path: 'php',
spawnargs: \[
'-dxdebug.mode=off',
'/home/kudo/Documents/php learning/index.php'
\]
}

I am on fedora. php is installed. version: 8.3.17

1
  • 1
    This is not a builtin directive. What extension are you trying to configure? Settings editor indicates what extension each directive belongs to, but I presume it's mentioned wherever you read about the setting. Commented Feb 25 at 15:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.