Search code examples
phpphpstormdisplay

PhpStorm Local terminal


I want to know how can I display the readLine ?

Local terminal: enter image description here

'php' is not recognized as an internal command or external, an executable program or a batch file.

But where can I define this?

Run window: runs but no display of readLine ...

enter image description here

My settings

CLI Interpreters: enter image description here

Languages > PHP: enter image description here

Tools > Terminal: enter image description here

Tools > Command Line Tool Support: enter image description here

Thank you !


Solution

  • Add the PHP to the path environment variables. in windows use the following path

    My Computer->properties -> Advanced system setting -> Environment Variables