Why not accept the PHP interpreter?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
22 views
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"

77ff19d9d52f842b355afa130ed92709-full.pn

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

8bf43175eaca6ffa7ec255020c23951a-full.pn

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
by | 22 views

1 Answer

0 like 0 dislike
Specify the path to the executable PHP file. Not to the folder, not the. ini and binary.
by

Related questions

0 like 0 dislike
3 answers
asked Jun 3, 2019 by vadimpopov94
0 like 0 dislike
1 answer
asked May 21, 2019 by dymsonn
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
35,573 users