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)

enter image description here

  • go php > servers , then

enter image description here

  • to setup run configuration have done following:

enter image description here

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: enter image description here

under mappings tab, should this: enter image description here

and after can view file in browser through menu:

enter image description here


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -