How to fix the php.validate.executablePath vscode error on lampp at deepin linux

Just add the following line inside the settings.json file on VSCode and save:

{
    "php.validate.executablePath": "/opt/lampp/bin/php-7.3.14"
}