由於安裝了我的wamp的文件夾名稱「Program Files」,我正面臨一個問題。 我正在使用Yii框架來創建一個Web應用程序。 當運行一個命令我可以在不同的文件夾中安裝兩次wamp嗎?
的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.
我該怎麼辦?請給我一些建議。
試圖將wamp安裝在不同的文件夾中,並從該文件夾運行該命令。它的工作。沒問題。 – Akshay
你試過用引號嗎? 'yiic webapp「c:\ Program Files \ wamp \ www \ YiiApp」'。 – Maerlyn
@Maerlyn,嘿謝謝,這也適用 – Akshay