[英]can I install wamp twice in different folders?
I'm facing a problem due to the folder name "Program Files" in which my wamp is installed. 由于安装了我的wamp的文件夹名称为“ Program Files”,因此我遇到了问题。 I'm using Yii Framework to create a web app.
我正在使用Yii Framework创建一个Web应用程序。 While running a command
运行命令时
yiic webapp c:\\Program Files\\wamp\\www\\YiiApp yiic webapp c:\\ Program Files \\ wamp \\ www \\ YiiApp
it gives error due to the white space in the folder name. 由于文件夹名称中的空白,它给出了错误。 The error is as below:
错误如下:
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.
What should I do? 我该怎么办? Please suggest me something.
请给我一些建议。
The second install will have superceeded the first. 第二安装将取代第一安装。 In other words Wampmanager and Apache and MySQL will be being started out of the new folder.
换句话说,将从新文件夹中启动Wampmanager以及Apache和MySQL。
As per your question on wamp forum, copy wwww/subfolders into the new location and then copy ONLY YOUR databases from mysqlx.yz/data into the same place in the new location. 根据您在wamp论坛上的问题,将wwww / subfolders复制到新位置,然后仅将mysqlx.yz / data中的数据库复制到新位置的相同位置。
Then delete the folders from program files. 然后从程序文件中删除文件夹。
You only need one wamp ( Apache/MySQL) per system. 每个系统只需要一个Wamp(Apache / MySQL)。
I tried something else: Without moving the previously installed wamp's content just read the 我尝试了其他方法:在不移动先前安装的wamp内容的情况下,请阅读
"uninstall_services.bat" file
“ uninstall_services.bat”文件
just uninstall these services from that wamp directory which you want to disable. 只需从您要禁用的wamp目录中卸载这些服务即可。
Still the another wamp's services won't start. 另一个沼泽的服务仍然无法启动。 So install those services mentioned in "uninstall_services.bat" file manually from respective directories.
因此,请从相应目录手动安装“ uninstall_services.bat”文件中提到的那些服务。 Now Restart All Services from the tray icon.
现在,从任务栏图标重新启动所有服务。 The required wamp will be enabled.
所需的wamp将被启用。
If won't, try it again. 如果不会,请再试一次。 No need to reinstall wamp.
无需重新安装沼泽。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.