Setting up phpstorm 4 with XAMPP on Windows 7 -
i need setting phpstorm (4.0) xampp @ default location c:\xampp\htdocs. create projects @ c:\xampp\htdocs\projectname.
here things have done:
- setup php interpretator going settings , php (main menu)

- go php > servers , then

- to setup run configuration have done following:

now when run using above configuration takes me localhost in browser, instead of file editing (http://localhost instead of localhost/myproject/myfile.php).
what missing? read topics of phpstorm , googled lot still couldn't figure out.
turns out don't need set run configuration. answer lies in setting mapping in deployment tab in settings.
(assuming creating projects in c:\xampp\htdocs)
to go settings (ctrl + alt + s) , choose deployment: 
under mappings tab, should this: 
and after can view file in browser through menu:

Comments
Post a Comment