mercredi 24 février 2016

laravel Server error 500 in cpanel hosting

im hosting laravel 5.1 in my cpanel but it always accured error.I tried every method (htaccess, chmod 644 and storage give o r+W) but it doesnt work in my cpanel but when i removed following line from index.php of public folder it give acces to inde file:

$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);

$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);

$response->send();

$kernel->terminate($request, $response);

so it give access to mine folder . Can anybody help me? can it cause due to php version of cpanel?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire