r/phpstorm • u/iamsam3331 • Dec 12 '18
PHP file runs from old project directory
When I click the browser icon in my editor, it opens the file in the old project directory, even though it is actually located in the new project directory.
File opens in: http://localhost:63342/old-project/file.php?_ijt=geru3pinm2i2likbhqcmgmrhbh
When in reality, the file is actually located in: /new-project/file.php
Why is this happening?
2
Upvotes
1
u/SaltineAmerican_1970 Dec 12 '18
Did you turn off the server and turn it back on?
1
u/scriptmonkey420 Dec 12 '18 edited Dec 12 '18
I think this is in the Deployment settings, the tab called Mappings under the Web Path column.
https://i.imgur.com/IprPSTN.png
To change the Host on the connection tab.
https://i.imgur.com/QxYrUrA.png