V
V
Vlad Osadchyi2019-02-11 15:43:43
phpstorm
Vlad Osadchyi, 2019-02-11 15:43:43

PHP command not working in phpShtorm terminal?

I use OpenServer and PhpShtorm, I want to use php commands in the phpShtorm console, because I'm tired of constantly opening a separate console for this))
The path to php is specified in the environment variables, and everything works fine in cmd
5c616d518a906894401454.png
The path to the console in phpStorm
5c616da7e06a8816761851.png
But in the phpStorm terminal I get an error

C:\>php -h
"php" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

How to make php work normally in phpShtorm?
UPD: The problem is solved by restarting the computer after changes have been made to the PATH variable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Murfy, 2019-07-19
@qxcoder

Like this )
5d31d408eed62139179521.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question