Answer the question
In order to leave comments, you need to log in
How to install Laravel 5 on Open Server?
How to install Laravel 5 (namely 5) on an open server?
Answer the question
In order to leave comments, you need to log in
Read the documentation! In the Laravel documentation, there is a selector in the upper right corner to switch versions. Switch to 5 and read the right section of the documentation!
Laravel 5.0 installation
composer create-project laravel/laravel {directory} "5.0.*" --prefer-dist
{
"require": {
"laravel/laravel": "5.0.*"
}
}
composer install
Here is an instruction with explanations, you can practice, the example uses the laravel5-example project from github.
In the opserver, open Advanced - Console, paste all the commands in the console, if there are errors, look and correct.
Installation
// on the open server, go to the domains folder
cd domains
// go to the domain (project) folder
cd projectname
// install laravel if necessary
composer create-project --prefer-dist laravel/laravel <project_name>
//Copy the project
git clone https ://github.com/bestmomo/laravel5-example.git projectname
// if necessary, if you need to install or update composer
composer install
// key generation
php artisan key:generate
//create a database in phpadmin and specify access data
in the .env file
//migration of the database
php artisan migrate --seed //to create and populate tables
//set additional project features
Inform config/mail.php for email sends
php artisan vendor:publish to publish filemanager
//end
php artisan serve
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question