Run/Debug Configuration
Hello,
first of all, excuse my bad english.
i tryed to configuration a Lokal PHP Webapplication. at the point "Upload files to remote host" i will add a new server. but the new server can't not select. What must i do. my project is not in the webroot.
Stefan
Please sign in to leave a comment.
Hello Stefan,

You need to add a new server:
In the popup you need to choose between Mounted folder (if your server is accessible via mounted folder or network share, or is located on the same machine, but in different location than project files), or FTP/SFTP.
Regards,
Kirill
Message was edited by: Kirill Safonov
Hi Kirill,
my folder is on the same machine. i will only copy my project dir to dir on my local server root. i fill out the dialog, but when i come back fom the dialog
it is unavalible to choice. when i run the configuration will appair the folowing error "Server is not selected". but i can't select my server.
Ciao
Stefan
Hi Stefan,
What is the type of server you're trying to create?
Kirill
Local.
i have xampp on my macbook. my projekt dir ist dir1 and my webroot dir2. on run, the project dir must copy to webroot, thats all.
You need local server when your project files are already under web root. In your case you need to create 'Mounted' server and specify your web root (dir2) in 'Mounted root' field. IDE does not really care if it's real mount, or just another folder to copy files to.
Sorry for confusion, we will rework UI in next versions.
thanks, now started the browser on the right point, but no files is copy. what is wrong?
now copy the files on run but every run the whole dir, can i config that only the changed files is copied?
Hi Stefan,
Try "File | Settings | Deployment | Options --> Overwrite up-to-date files"
Hello Andriy,
thank you, that was the solution for my problem.
Best regards
Stefan