You need to connect a PHP-interpreter in phpStorm settings.
Went through a lot of articles and free video tutorials - people just point the way to a folder with php or exe-schnick (but I have ubuntu)
If you specify just the path to the folder with php - phpStorm does not react. If point the way to specific file > - writes "Failed to parse script output validation"

The path to the binary phpStorm also does not react (
update: made a mistake in the way that was an error):

OC:
Distributor ID: Ubuntu
Description: Ubuntu LTS 16.04.4
Release: 16.04
Codename: xenial
PHP:
PHP 7.0.29-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Apr 5 2018 08:34:50) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.29-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans