简体   繁体   English

NetBeans部署PHP应用程序

[英]NetBeans deploy PHP application

I come from a .NET visual studio background and am learning PHP (with CakePHP) using NetBeans. 我来自.NET视觉工作室背景,正在使用NetBeans学习PHP(使用CakePHP)。

In visual studio there is a publish option that allows you to publish your application via file system tranfer (essentially just spits out the application in the form that is needed for it to run on a webserver). 在Visual Studio中,有一个发布选项,允许您通过文件系统传输来发布您的应用程序(本质上只是以应用程序在网络服务器上运行所需的形式吐出应用程序)。 Is there anything similar in netbeans? netbeans中有类似的东西吗?

I do all my dev work on the built in PHP webserver, and would like this file system transfer option so I can just copy and paste the files wherever I want to. 我所有的开发工作都在内置的PHP Web服务器上进行,并且想要此文件系统传输选项,因此我可以将文件复制并粘贴到我想要的任何位置。

I can't just copy the files from my working directory as it contains all the version control meta-data. 我不能只从工作目录中复制文件,因为它包含所有版本控制元数据。

I am aware of the FTP and the remote server upload option, but I was hoping for the simpler approach as above. 我知道FTP和远程服务器上载选项,但我希望如上所述的更简单的方法。

Maybe the "visual studio approach" as above is not suited for a PHP environment, in that case I could use some pointers/tips! 也许上面的“ Visual Studio方法”不适用于PHP环境,在这种情况下,我可以使用一些指针/技巧!

以下是使用NetBeans https://netbeans.org/kb/docs/php/remote-hosting-and-ftp-account.html部署到远程服务器的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM