How can I upload changes of file from local to remote server when I saved it?
I want do it automatically when I pressed ctrl + s shortcut, not manually.
Go to Tools | Deployment | Options...
and make the settings as shown .
Upload changed files automatically to the default server: On explicit save Action (CTRL + S)
Update:
In new version of PhpStorm, Go to Tools | Deployment
and check Automatic Upload
.