Laravel Horizon install fail in my local machine - laravel

I have install laravel Laravel Framework 6.7.0 in local machine. I have working redis queue and jobs. but i have install horizon using this link https://laravel.com/docs/6.x/horizon. but i have not install .
I have atteched sceenshort below Please check.

As the output Using version ^4.2 for laravel/horizon states composer tries to install version 4 of laravel/horizon - which is Laravel7 only. You need to install version 3, which is compatible with Laravel6:
composer require laravel/horizon ^3.0

Related

How to Setting PDO PHP 7.0 on AWS Server EC2

I have trouble on setting PDO on AWS Server. Like this :
[root#ip-172-31-31-52 /]# sudo yum install php-pdo
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00
amzn-updates | 2.5 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-pdo.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.29-1.8.amzn1 for package: php-pdo-5.3.29-1.8.amzn1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Conflict: php70-common-7.0.33-1.32.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Finished Dependency Resolution
Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
How to solve this. I need PDO settings. Please help me
Step 1:
Take snapshot of your server
Step 2:
Check your php version and install the php packages corresponding to php version.
Additional info:
Laravel 5.4 requires PHP >= 5.6.4
Make sure you install php 5.6.4 or greater.
Specifically call out the exact package for php version.
Example:
For PHP 5.6 support, the package is php56-mysqlnd.
For PHP 7.0 support, the package is php70-mysqlnd.
For PHP 7.1 support, the package is php71-mysqlnd.
These package will install pdo support.
Advice, Install latest stable version of php and laravel.
Happy coding!

Laravel installer not installing latest version

I have attempted installing Laravel 5.7 with the Laravel installed and composer create-project but both install 5.6.34
I have specified the 5.7.0 and dev-develop branch in my composer command. When I specify 5.7.0 I get the following exception:
Could not find package laravel/laravel with version 5.7.*
When I specify dev-develop it installs 5.6.34 - I assume 5.7 has been released as it is available on the Laravel website with upgrade instructions.
Anyone know what's happening here?
Laravel 5.7 is not officially released yet, but you can get the latest commit from github master branch like this:
composer create-project laravel/laravel:dev-master myproject --dev

How can I install laravel on ubuntu 18.04

I am trying to install laravel 5.6 via composer on ubuntu 18.04
but i have this error:
Any help ?
This is not an error, these are just some suggestions to install other packages, for example if you need console logger, you may have to install psr/log-implementation package. don't worry, your laravel installation is completed without any errors.

laravel homestead - different php version

We are using the latest homestead, where you can fill in the php version in homestead.yml.
I installed php 7.0 with "sudo apt-get install php7.0-fpm".
But from my point of view this php version is not used in my project.
I did a composer update and it takes php 7.1 as basis for the composer.lock.
How to use the php version 7.0 for my composer?
to check what is you cli php version run
php -v
to change it to php 7.0 run
php70

Laravel - Installing packages for older version

I am trying to install a package (https://github.com/ollieread/multiauth), and the site says that i requires Laravel 4.1. I am running Laravel 4.2, and so when I run composer update I get
Your requirements could not be resolved to an installable set of packages.
Why can't I install this on a higher version of Laravel?
You can't install it on higher version of Laravel is because it's been just only support for 4. 1. * of Laravel Version according to their composer.json

Resources