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



由于安装我的wamp的文件夹名为"Program Files",我面临一个问题。我正在使用Yii Framework创建一个web应用程序。运行命令时

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

由于文件夹名称中存在空白,因此会出现错误。错误如下:

C:Program Fileswampwwwyii-1.1.13.e9e4a0framework>yiic webapp c:Program Fil
eswampwwwYiiApp
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.

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

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

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

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

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

我尝试了其他方法:在不移动之前安装的wamp的内容的情况下,只需读取

"uninstall_services.bat"文件

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

另一个wamp的服务仍然不会启动。因此,从相应的目录手动安装"uninstall_services.bat"文件中提到的那些服务。现在从任务栏图标重新启动所有服务。将启用所需的wamp。

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

最新更新