rvandoni
rvandoni

Reputation: 3407

PhpStorm: How to export deployment settings from a project to another one?

I need to export my deployment settings from a project to another one. How can I do this? I tried to export all the settings [File -> Export Settings...] and import them into the new project but I have no configuration available in the Deployment server list.

Upvotes: 11

Views: 10813

Answers (3)

Wotuu
Wotuu

Reputation: 838

On Windows 10, I found that copying over %appdata%\JetBrains\PhpStorm2021.3\options worked - but this was for copying the deployment settings from machine A to machine B. The other settings worked fine using just the regular export settings available from PhpStorm.

Upvotes: 0

John Kakon
John Kakon

Reputation: 2541

Easier way is to uncheck the "visible only for this project" setting. It will be visible for all of your projects.

screenshot

Upvotes: 15

Lorenzo Marcon
Lorenzo Marcon

Reputation: 8169

Copy both .idea/deployment.xml and .idea/webServers.xml from the first project to the second one. Watch out, because that will overwrite the second project's settings.

Upvotes: 20

Related Questions