honeycore
honeycore

Reputation: 21

PhpStorm: Failed to parse validation script output PHP version not installed Debugger not Installed

I'm on Windows 10 x64 and today I wanted to install a new version of XAMPP. What I did was to uninstall my current one and then remove PHP from the environment variables. After that, I downloaded XAMPP as usual and installed it along with Xdebug, the same way that has worked for me during the past two years.

When I opened PhpStorm and went to set the CLI interpreter I noticed that it said "PHP version: Not installed" and "Debugger: Not installed" (although I have the PHP executable set to C:\xampp\php\php.exe).

What I did after that was to try reinstalling PhpStorm, both with my current settings and then other settings. It didn't help.

Upon checking the PHP version in the command line it does say that I have the new version installed. I am also able to do a simple echo 'hello'; and have it printed in the browser on my localhost. I'm not sure what to make of that. However, debugging inside PhpStorm does not work despite seeing on my PHPinfo that Xdebug is installed.

After googling around I don't see much that is relevant to what I'm doing. It seems like everyone who faces this issue is using a remote interpreter and a mac.

Does someone know what to do about it with my settings or have any suggestions on how to get this solved?

Setup:

Error message: Failed to parse validation script output

Upvotes: 2

Views: 2171

Answers (1)

Grzegorz Olejarz
Grzegorz Olejarz

Reputation: 31

In my case Comodo Internet Security (CIS) was adding php.exe to blocked applications.

Unblocking it fixed the issue.

My config:

  • PHP 7.4.5 64 NTS
  • Windows 10 1909
  • PhpStorm 2020.1

Upvotes: 3

Related Questions