Hello, I've been trying to run some tests using PHP Storm under a freshly installed Debian 10 with PHP 5.6. Here is some information about it:
When I click run, I receive the following messages:
#1 On the run tab: "Test framework quit unexpectedly"
#2 And also: "Process finished with exit code 127"
#3 If I go to Help > Show Log In Files > idea.log:
com.intellij.execution.ExecutionException: /etc/php/5.6/cli/php.ini: 1: /etc/php/5.6/cli/php.ini: [PHP]: not found
/etc/php/5.6/cli/php.ini: 3: /etc/php/5.6/cli/php.ini: Syntax error: ";;" unexpected
#4 When I go to File > Setting > Test Frameworks it says: PHPUnit version: Not installed
#5 And regarding to the php.ini file, I also replaced the default (the one created during the installation) with the content of another example file I found somewhere else, but the problem is the same.
#6 If I type php -v I get:
PHP 5.6.40-52+0~20210701.54+debian10~1.gbpc0026e (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
#7 phpunit (on the command line) says command not found, but I'm not sure if that's the correct way of checking if PHPUnit is installed. I'm new to php also. And php -m does not show phpunit either, anyway.
Please help. I want to be able to automate my tests before starting the actual development. I also tried to run DefaultControllerTest.php from the command line, but nothing happens. Anyway, thank you all since now.