Support the ongoing development of Laravel.io →
posted 10 years ago
Installation

Hello Again and sorry to bother you my my install problem of Laravel on my web server.. I managed to almost get it done but I am stuck at the last step (I believe).

I searched so many threads before but everyone seem to have different problem and i cannot find the problem related to mine.

This is what I have done: use ssh to log on my server and download composer.phar using curl

install composer by adding the PATH .composer/vendor/bin to the .bash_profile present on my server run the command "php-cli composer install"

until here everything's fine

Then I try to do "laravel new blog" to get a new instance of laravel and I get the list of the commands

Laravel Installer version 1.1

Usage: [options] command [arguments]

Options: --help (-h) Display this help message. --quiet (-q) Do not output any message. --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug. --version (-V) Display this application version. --ansi Force ANSI output. --no-ansi Disable ANSI output. --no-interaction (-n) Do not ask any interactive question.

Available commands: help Displays help for a command list Lists commands new Create a new Laravel application. Content-type: text/html

--> I should be able to run those commands too but it seems it doesn't run it only gives me the same list of command for every entry i do

Last updated 2 years ago.
0

did you perform this step: composer create-project laravel/laravel your-project-name --prefer-dist from http://laravel.com/docs/4.2/quick#installation?

Last updated 2 years ago.
0

I tried with the command: "php-cli composer create-project laravel/laravel test --prefer-dist"

at the beginning it works until some point where I get an error:

Generating autoload files Status: 500 Internal Server Error Cache-Control: no-cache

then it begin to write something that looks like the content of an HTML file

I know I probably missed something in the install but i cannot find what is the problem... Thank you so much for any kind of advice !

Last updated 2 years ago.
0

It seems to be an error of permission but i don't understand why... The project is not even created so there is no project folder when i invoke the command "php-cli composer create-project laravel/laravel test --prefer-dist"

How is it possible to have a permission problem in such a case ? Is there any way to solve this issue ?

Thank you very much for the help, I am really beginning to become mad at this installation thing... it worked so well in my Homestead local environment...T_T

Last updated 2 years ago.
0

I think I found the problem

It doesn't come from me, I think the server laravel.phar is down or something like that

When I go to the page http://laravel.com/laravel.phar

I get the same HTML code than when i try to run "php-cli composer create-project laravel/laravel test --prefer-dist"

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

cyprienR cyprienr Joined 26 Nov 2014

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.

© 2025 Laravel.io - All rights reserved.