问题描述
如何发布在Eclipse Apache的地方htdocs目录?我记得我能做到以前这个很长一段时间,但忘了这个过程。有没有像我可以在Eclipse这样做,它发布的任何文件,我添加到htdocs或者如果我修改它的设置?最初,我复制从工作区的整个文件夹,并把它放在htdocs目录..它运行,但现在在Eclipse中的任何变化使我没有得到公布。
How can publish from Eclipse to Apache's htdocs on local?, I remember I was able to do this long time ago but forgot the process. Is there like a setting that i can do in Eclipse so that it publishes any file i add to the htdocs or if I modify it?. Initially I copied the whole folder from workspace and put it in htdocs.. and it runs but now any change I make in eclipse does not get publish.
鸭preciate你的帮助。
Appreciate your help.
推荐答案
我假设你的htdocs文件夹存储在本地。如果是这样的话,那么最简单的路线将是简单地创建一个新的工作空间,其根目录实际上的是的htdocs文件夹。
I'm assuming your htdocs folder is stored locally. If that is the case, then the easiest route would be to simply create a new workspace whose root directory will actually be the htdocs folder.
在这种情况下:
- 转至:文件>切换工作区>其他
- 单击浏览,查看您的htdocs文件夹并选择它。
现在,当您创建一个新的项目,你的htdocs文件夹应该是要在其中创建新项目的默认位置。
Now when you create a new project, your htdocs folder should be the default location in which to create the new project.
这篇关于从发布的Eclipse PHP文件到Apache的htdocs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!