I have some problems with deploying app to a shared host.
What i did till now:
- copy all public files to public_html/website/my-api
- copy all laravel system files to public_html/laravel
- checked rights
- corrected my-api/index.php require and require_once to a laravel/bootstrap/autoload.php
- laravel logs are empty no data in
- apache logs are empty no data in
- my webhosting is Hetzner hosting
After some debugging it crashes here:
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
I get Error 500 and no other information. I double checked right etc. they are 777. It's just crash with error 500.
EDIT1:
I checked .php version and on localhost it works with 5.6.25 i tested with 5.6.35 and it's ok too.
I investigate it further. It seems to crash at Application.php ::207 line
$this->make($bootstrapper)->bootstrap($this);
$bootstrapper has value -> "Illuminate\Foundation\Bootstrap\RegisterProviders"
If anybody knows more.