add it to your PATH or set the php.executablePath setting. code example Example: php executable not found visual studio code ubuntu sudo apt-get install php