echo does not work in Curl in PhpStorm
first got to:
C:\xampp
and do that:
- Just Run "xampp-control.exe" as administrator
- and stop apache service action port.
- and tick this(in snapshot) check box it will ask for install as service just install it
- then click start
Integrating XAMPP with the IDE:
- Let's start by registering the PHP executable from XAMPP in PhpStorm. When in a PHP project, we can do this using the File | Settings menu (Ctrl+Shift+S or Cmd+Shift+S on Mac), navigating to the Project Settings | PHP.
- With IntelliJ IDEA and PhpStorm, we can have several separate PHP interpreters registered in the IDE, depending on the PHP version and/or PHP configuration needed for the project. All currently registered installations of PHP interpreters are displayed in the Interpreter drop-down list:
We can add the one we've installed with XAMPP by clicking the Browse button (…). This will bring up the Interpreters dialog box.