【发布时间】:2015-04-20 19:46:12
【问题描述】:
在 PhpStorm 中运行项目时,它会将我带到 localhost:63342/MyProject/index.php 但这会破坏所有链接,因为它会将项目名称添加到我的链接工作的 URL 中,因为在域上它们都是mysite.com/image1.jpg、mysite.com/file2.htm 等...
有没有办法让它以http://localhost:63342/index.php 而不是http://localhost:63342/MyProject/index.php 运行项目。
我已经尝试了所有我能想到的方法,但我似乎无法弄清楚这一点。我一定是错过了什么。
【问题讨论】:
标签: phpstorm