New Project from Existing Files

I have managed to get some of my projects into phpstorm, but one is causing confusion.

The project, using XAMPP, vhosts, PHP, MySQL, etc works fine with a browser.

The project is in an addon domain on the live version. Locally, it is in it's own folder
C:\develop\client4\eng for the English language version. There are other languages, all in their own C:\develop\client4\* folders. They share common code in C:\develop\client4.

And Xampp is in C:\xampp

However, my problem is that currently,
a) either the shared code in the client4 version is not visible, and so not editable.
b) or, I can see the code in the client4 folder, but the program tries to start in the non-existent C:\develop\client4\eng\eng folder.

Obviously the vhosts is set up correctly, or it wouldn't run in a browser (outside phpstorm).  But what have I done wrong?

0

>  but the program tries to start in the non-existent C:\develop\client4\eng\eng folder.

could you please clarify that? A set of screenshots or screencast could help

0

I meant, as the code wasn't working, and I couldn't think of anything else, I added a temporary test file, and PHPStorm debugs this test file, instead of the "real" index.php file. 

httpd-vhosts.conf has the line
DocumentRoot C:/develop4/client4/www/eng

Browsers correctly find the site at

C:\develop\client4\www\eng\index.php

I added a temporary file,
C:\develop\client4\eng\eng\index.php
and found that this was what PHPStorm was trying to debug.

Note the \eng\eng instead of the correct \eng


0

请先登录再写评论。