Hallo to all of you,
my problem is to use XAMPP as local server but developing sources not in htdocs.
In htdocs I have one folder for each customer. In this folder I use many different websites in sub structures. For development I use folders at the same windows7 machine but outside of htdocs.
As a phpStorm beginner I recognize server definition for connecting sites in htdocs and mapping for transfer of documents between server and non htdoc folders.
I read the manual but often wording seams to be a problem for me. Development should made in Project folder. I think in my case it is the folder not 'in place' the server. Before I can test the new code phpStorm transfer new code into mapped folder in htdocs and then I can debug... from server. If I'm wrong please help me.
Server root: C:\xampp\htdocs
Different websites: C:\xampp\htdocs\customerA\Site1, C:\xampp\htdocs\customerA\site2... and so on.
'Project' folders not 'in place': C:\user\me\draftA\Site1, C:\user\me\draftA\site2...
I would like to make changes in C:\user\me\draftA\Site1 (in my oppinion the Project).
Up to now I copy anything to the Server in C:\xampp\htdocs\customerA\site1 und test it in Chrome with localhost/customerA/Site1/index.html
What I try in phpStorm to get rid of manually transfer
New Project from existing folder
- definition of server
type: local or mounted folder (hope it is correct)
name: I_XAMPP (for further use in all projects in different projects)
folder: C:\xampp\htdocs (neboulus 'Upload/download project files' - I think this is the root of XAMPP )
Web server root URL: http://localhost
- definition of mapping
Local path: C:\users\me\draftA\Site1
Deployment path on server 'I_XAMPP' (relative to folder 'C:\XAMPP\htdocs): customerA\site1
Web path on server 'I_XAMPP': customerA/site1
Project url shown is http://localhost/customerA/Site1. This seams my way but warning in dialog footer "Local path 'C:\user\me\draft\site1 is out of project".
I don't use button the button 'Use this server as default'.
I submit this settings and try to transfer sources from C:\user\me\draft\site1 to C:\xampp\htdocs\customerA\Site1 anyway, in the oppinion the warning only is a hint of local not in-place server.
For that I try menu "Tools/Deployment/Upload here" but any transfer entry in submenu is inactive.
Where are my misunderstandings? I hope some of you can help me.
Thanks up to now,