我可以在不同的文件夹中安装两次wamp吗?

时间:2013-07-16 06:28:00

标签: yii wamp yiic

由于我的wamp已安装在文件夹名称“Program Files”中,我遇到了问题。 我正在使用Yii Framework来创建一个Web应用程序。 在运行命令时

yiic webapp c:\ Program Files \ wamp \ www \ YiiApp

由于文件夹名称中的空格而导致错误。 错误如下:

C:\Program Files\wamp\www\yii-1.1.13.e9e4a0\framework>yiic webapp c:\Program Fil
es\wamp\www\YiiApp
Error: Unsupported VCS specified. Currently only git and hg supported.

USAGE
  yiic webapp <app-path> [<vcs>]

DESCRIPTION
  This command generates an Yii Web Application at the specified location.

PARAMETERS
 * app-path: required, the directory where the new application will be created.
   If the directory does not exist, it will be created. After the application
   is created, please make sure the directory can be accessed by Web users.
 * vcs: optional, version control system you're going to use in the new project.

   Application generator will create all needed files to the specified VCS
   (such as .gitignore, .gitkeep, etc.). Possible values: git, hg. Do not
   use this argument if you're going to create VCS files yourself.

我该怎么办?请给我一些建议。

2 个答案:

答案 0 :(得分:0)

第二次安装将取代第一次。换句话说,Wampmanager和Apache和MySQL将从新文件夹中启动。

根据您在wamp论坛上的问题,将wwww /子文件夹复制到新位置,然后将您的数据库从mysqlx.y.z / data复制到新位置的同一位置。

然后从程序文件中删除文件夹。

每个系统只需要一个wamp(Apache / MySQL)。

答案 1 :(得分:0)

我尝试了别的东西: 如果不移动之前安装的wamp的内容,请阅读

  

“uninstall_services.bat”文件

只需从您要禁用的wamp目录中卸载这些服务。

另一个wamp的服务仍无法启动。因此,从各个目录手动安装“uninstall_services.bat”文件中提到的那些服务。 现在从托盘图标重新启动所有服务。将启用所需的wamp。

如果不这样做,请再试一次。无需重新安装wamp。