Answer the question
In order to leave comments, you need to log in
How to run scripts in browser with correct address?
The scripts are in the Apache\htdocs\myproject.local\web\tests\ folder, the web folder in the PHPStorm project is marked as Resources, for Apacha it is marked as DocumentRoot, in the PHPStorm settings everywhere the server is set to myproject.local:80 (the domain of my web application on local server), but when I run the script in PHPStorm via Open in browser, it knocks out the address of the form
localhost:49845/myproject.local/tests/NativeSandbox.php
myproject.local/tests/NativeSandbox.php
Answer the question
In order to leave comments, you need to log in
It was necessary to enable the Remote Hosts Access plugin and set up Deployment for the project.
So start a normal web server, this is how PhpStorm works - localhost:port/project_name/*
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question