Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm Deployment menu greyed out

Tags:

ide

phpstorm

I've added a server in PhpStorm deployment settings but the Tools -> Deployment -> Upload to menu is still greyed out.

like image 628
georgiecasey Avatar asked Jan 31 '15 18:01

georgiecasey


3 Answers

You need to specify a deployment path mapping in your server. Even if it's just the root path, you need to enter /. PhpStorm doesn't do it automatically.

Go to your server in deployment settings, click the 'Mappings' tab and enter slash (or your mapping) in the 'Deployment path on server' field. You don't need to enter a web path. Deployment menu should be ungreyed now.

like image 70
georgiecasey Avatar answered Sep 20 '22 13:09

georgiecasey


In version 2019.2, if you dont set the path to / in mapping, it will grayed out. Previous version, you could leave it blank

like image 36
Grumpy Avatar answered Sep 22 '22 13:09

Grumpy


Also, if your local path (inside mappings configuration) is not your project root, you have to click on the deployable folder in the project tree to enable the menu.

like image 45
borisdiakur Avatar answered Sep 22 '22 13:09

borisdiakur