S
S
Showtin2021-04-14 13:38:34
phpstorm
Showtin, 2021-04-14 13:38:34

How to run php file through phpstorm terminal?

Hello, I have such a code in the index.php file . I run it
6076c34ab0759923683357.png
through the console and everything works fine.
6076c35e3cc99249960547.png
But there is one problem, I want to run the same file only through the terminal in PhpStorm, but for some reason it doesn’t work for me. I carry out the same actions as with the console, but the terminal gives an error.
6076c370db7ec139419993.png
The question is how to make the file run through the PhpStorm terminal?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question