How to set up a php project in PHPStorm (remote-Server, maybe GIT)

Hi,

the question seems to be very easy - but for me it is not very easy.

When I want to use GITHUB, then all Directorys have to be under Projektdirektory.

I have this Directory Struktur in my project (and my server):

temp.png


I have marked th htdocs as Recource-Root. So links like <img src='/picInhtcods'> will work.

My Serversettings:

temp.png

But know I have a problem:

When I press ALT-F2 (see that page in Chrom-Browser), PHPStorm tryes to call the URL http://test.cusp.de/htdocs/index.php - But that is wrong it should be http://test.cusp.de/index.php.

Before I tryed to use GitHub, My Setting was like this:

temp.png

I had different directorys - it worked fine (the .idea was in the htdocs). But it will not work with github...

So how to set up a php - project in phpstorm?

cu

1 comment

You cannot set it up to have Open in Browser (Alt+F2) to work with current setup: http://youtrack.jetbrains.com/issue/WI-15169

0

Please sign in to leave a comment.