Search code examples
phplaravel-5laravel-5.5

laravel 5.5 HTTP ERROR 500 unable to handle this request


My old Project use Laravel 5.4.17 It can work in server normally.But new Project use Laravel 5.5.4 It can't work when route in root/public " mydomain.com/root/public is currently unable to handle this request. HTTP ERROR 500". Is it a problem with the version of php? Because current php version is 5.6.23. Laravel 5.5 require php 7.0? Do you think I'm right?


Solution

  • For Laravel 5.5 you need following server requirement

    The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it's highly recommended that you use Homestead as your local Laravel development environment.

    However, if you are not using Homestead, you will need to make sure your server meets the following requirements:

    PHP >= 7.0.0
    OpenSSL PHP Extension
    PDO PHP Extension
    Mbstring PHP Extension
    Tokenizer PHP Extension
    XML PHP Extension
    

    Ref: https://laravel.com/docs/5.5#server-requirements