M
M
momoto2016-11-29 09:08:03
Laravel
momoto, 2016-11-29 09:08:03

How to install laravel via composer?

Hello.
I decided to switch from regular hosts with cms to vps with framework.
This is my first time setting up.
I install laravel on VPS using composer
Installed ubunta.
Installed composer.
The plug appeared when unpacking laravel
Installed it like this: composer create-project laravel/laravel /var/www/laravel/ 4.1
The first problem is the swap file, I created it and the problem was solved.
The second problem is with disk space. Places 2.6Gb
These two errors appear:

The disk hosting /root/.config/composer is full, this may be the cause of the following exception
[ErrorException]

ZipArchive::extractTo(): ​​No space left on device

I do not understand how so much space is wasted and where. Prompt or give a link to the topic, if it has already been discussed somewhere.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vyacheslav Plisko, 2016-11-29
@AmdY

No need to install composer and other build utilities on the server. You do everything on the dev machine, then just copy it to the servers.

M
momoto, 2016-11-29
@momoto

No need to install composer and other build utilities on the server.

I have a server for experiments on laravel and other frameworks.
I don’t know why composer is needed, but all the installation lessons ask you to install it, supposedly because of dependencies. Can you help me figure out what the problem is? Can’t unpack some big package or is there a jamb somewhere deeper?

A
Alexander Gavva, 2016-11-30
@aprel_co

Try increasing memory_limit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question