如何在wamp 2.4 (Windows 7 32位)创建多个laravel项目


How to create multiple laravel projects in wamp 2.4 (Windows 7 32 bit)

Laravel和PHP编程新手。我已经成功地在我的wamp上安装了Laravel 4框架。现在,我想导入一个现有的Laravel项目(使用Apache配置并使用VC11编译)到我自己的本地wamp 2.4 (PHP 5.4.16)。我的问题是

1. Is it possible for wamp to host 2 laravel projects on the same machine?
2. If yes to (1), then what would I need to configure this or is there a guide/tutorial on this?
3. If no to (1), would I need to reconfigure the original settings of the existing laravel project for it to work on my wamp?

不是使用WAMP的解决方案,所以如果这对您的设置至关重要,那么这个答案将没有帮助,但是另一种选择是使用vagrant。这允许您运行一个与您的部署环境紧密对应的开发环境,这将使您在部署不工作和支持多个站点时避免麻烦。

我相信laravel有自己的官方,易于使用的流浪文件homestead。

简单的答案是:Wamp在c:' Wamp 'www'中有一个www目录,所以你可以简单地创建两个项目,例如c:' Wamp 'www'project1和c:' Wamp 'www'project2,并使用Composer导入项目。