Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

Install it to an empty folder and then copy over all files where you want them.

Last updated 2 years ago.
0

Hey @simon>simonassouline said:

Hi,

I have already created a folder structure in a www folder and enabled my site with a2ensite. If I try to install Laravel I get this error:

   sudo laravel new site1.dev

   Application already exists!

Is there an argument to just install in an existing directory ?

there is no index.php or existing folders that Laravel would conflict with just the actual parent folder name.

Hey, this seems an old post, but I stumbled upon it just now. The solution is very simple.

Just browse to the directory where you want to setup the laravel installations and run

 laravel new

Hope it helps

0

rohan said:

Hey @simon>simonassouline said:

Hi,

I have already created a folder structure in a www folder and enabled my site with a2ensite. If I try to install Laravel I get this error:

   sudo laravel new site1.dev

   Application already exists!

Is there an argument to just install in an existing directory ?

there is no index.php or existing folders that Laravel would conflict with just the actual parent folder name.

Hey, this seems an old post, but I stumbled upon it just now. The solution is very simple.

Just browse to the directory where you want to setup the laravel installations and run

laravel new

Hope it helps

This worked for me, thank you!

0
composer create-project laravel/laravel .
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.