方法一:若web工程为.gz压缩文件:file->import->general->existing project into workspace->next->①select root directory ,填写你的服务器的根目录 ②select archive file,选择你的工程路径,记住为.gz压缩文件哦->finish
方法二:若web工程不是.gz压缩文件:首先将工程复制到服务器根目录下,file->new->php project->①project name 为工程的名字②create project at existing location 为原工程的存储位置->finish.
PS:文中的①②表示在同一个页面中的操作,->表示跳转到下一个页面。
如有其它更好的方法,欢迎大家提出共享。