cancel
Showing results for 
Search instead for 
Did you mean: 

M2.4 how to install using composer

Highlighted

M2.4 how to install using composer

Hello.

I am trying to install M2.4 using composer . if i follow the guid in devdoc , 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition . ...

This works however, all the files and folders will be created in a folder caller project-community-eidtion .. i like to download and install magento files , in the doc root . 

/www/html  .. this is the only project on the server.

no other subdirectory. 

how can i do that ?

Thanks. 

1 REPLY 1
Highlighted

Re: M2.4 how to install using composer

ok got it figured out. 

 

composer create-project --repository-url=https:\\repo.magento.com/ magento/project-community-edition /var/www/html

will install in document root that i have specified in vhost. 

 

thanks