0

端末コマンドを使用してlaravelをインストールしているときに、MAMP htdocsフォルダー内の他のプロジェクトが影響を受け、機能していません。 このプロセスに従ってlaravelをインストールしました

4

1 に答える 1

1

Those directions have you symlink the "htdocs" directory to your laravel install, effectively making your htdocs directly useful only for Laravel.

You should avoid this, perhaps by creating a symlink from your laravel build to a directory within htdocs. For example, linking to a directory in htdocs called "mylaravelapp": ln -s /path/to/laravel-master /path/to/htdocs/mylaravelapp.

Lastly, consider using Vagrant or another virtual machine provider instead of MAMP for a server. You'll have to get through a learning curve (potentially), but you'll end up better for it. This creates a virtual server for you, which won't interact with any other parts of your Mac (YOu can make a server per project!).

Here is a guide to get started with Laravel 4 and Vagrant.

于 2013-10-29T12:36:16.523 に答える