Why PhpStorm doesn't see files in /usr/bin?

274 Views Asked by At

I'm trying to configure PhpStorm 2019.3, my system is Linux Mint.

When I trying to set paths for utilities Mess Detector (phpmd), Code Sniffer (phpcs) and Mercurial (hg), PhpStorm is saying:

error=2, no such file or directory.

Problem is that PhpStorm doesn't see these files, but see system files.

Utils are installed and placed in /usr/bin

~$ which phpmd
    /usr/bin/phpmd
~$ which phpcs
    /usr/bin/phpcs
~$ which hg
   /usr/bin/hg

Why can that be?

1

There are 1 best solutions below

1
markel12 On

Problem solved by removing phpstorm installed from Program manager and installing directly from official site.