1
I created a project with Laravel 5.0 framework by Composer, to run the project using the command php Artisan serves, however, I have found that the php version used on this server is 7, I have installed php 5.6 on the computer and would like Artisan to run php 5.6 instead of 7 ?
As the version of Laravel is the 5, it is giving problem with php 7 and so I want to make this change, just to continue my studies with Laravel!
what problems?
– novic
The problem is with Composer or Laravel?
– Guilherme Nascimento
I have no way to post the error now, but there is an error when I submit a POST form, I searched for the error and understood that the error happens because Laravel 5.0 does not work properly with php 7, so I want to see a way to change the php version on this server.
– user2831852
In that documentation, says that it is only possible to rotate in 5.6.4 or higher
– viana
This link is for version 5.4 of Laravel, I am using version 5.0(https://laravel.com/docs/5.0/installation) because I am following an example of a course, I intend to redo the project for a newer version after it is finished, so I want to see if I can run php 5.6. I tried setting the php version in . htaccess at the root and in the public folder but it didn’t work, phpinfo() keeps stating that it is php 7.
– user2831852