PHP Storm and FTP access for editing
Hello,
currently we are using a different PHP IDE, and we absolutely need to access our files on a remote server either by SFTP or FTPS.
Our servers are all located somewhere outside, and we need some editing.
Is this possible with PHP Storm?
Thank you very much!
Wolfgang
请先登录再写评论。
Hello Wolfgang,
Sure! This is possible with the Deployment tool: https://www.jetbrains.com/help/phpstorm/tutorial-deployment-in-product.html.
Hi Anastasiia,
thank you very much for your answer!
I do not know it that works for us - we have no code locally. All our code is on the remote (Linux) server and has to be loaded for editing and then saved back to the server for the execution.
Our Linux servers have only the strongly needed packages, so no GUI and no Java and nothing else - only Apache with PHP and the needed modules, VsFTP and Postfix for sending mails. Even the database is on different (non public) servers.
Wolfgang
I see no issues there! You can install PhpStorm on a Windows/macOS/Linux machine locally, download the code via FTP/SFTP, modify it locally, and upload it back to the remote server. In addition, you can connect to the database via PhpStorm: https://www.jetbrains.com/help/phpstorm/quick-start-with-database-functionality.html.
If the remote server is accessible via SSH, you can also try the Remote Development and code directly on this Linux server: https://www.jetbrains.com/help/phpstorm/remote-development-starting-page.html#start_from_IDE. Just make sure that it fits the minimum requirements: https://www.jetbrains.com/help/phpstorm/prerequisites.html.
Hi Anastasiia,
thank you very much for your answer. Remote Development does not solves the problem for us as we have several different server where our projects are executed, and they do not fit the requirements (they are Debian virtual machines or containers, have no GUI and no display as the hosts are located in a Datacenter rack.
For the other option, I will check that out with my team and let you eventually know (but sincerely I'm not really sure that this fits our requirements).
Wolfgang
PhpStorm offers a free 30-day trial: https://www.jetbrains.com/phpstorm/download. Give it a try, and you'll find it easier to decide whether it's the right fit for you.
Hi Anastasiiia,
thank you very much! We will try that - but I have found that this functionality (FTP editing) was requested by a lot of your customers 14 years ago, and it seems your solution was the Remote Development (that does not works for us, and honestly I do not have any plan to install a programming IDE to our servers to not open create unneeded security issues).
Wolfgang
It seems there might be some misunderstanding here. Perhaps this example will help clarify:
Since this forum doesn’t support video uploads, please use this link to download the screencast.
Hope this helps.
Hi Anastasiia,
thank you very much!
Wolfgang