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

9 comments
Comment actions Permalink

Hello Stefan,

You need to add a new server:
addserver.png

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

0
Comment actions Permalink

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

0
Comment actions Permalink

Hi Stefan,

What is the type of server you're trying to create?

Kirill

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

thanks, now started the browser on the right point, but no files is copy. what is wrong?

0
Comment actions Permalink

now copy the files on run but every run the whole dir, can i config that only the changed files is copied?

0
Comment actions Permalink

Hi Stefan,

Try "File | Settings | Deployment | Options --> Overwrite up-to-date files"

0
Comment actions Permalink

Hello Andriy,

thank you, that was the solution for my problem.

Best regards

Stefan

0

Please sign in to leave a comment.