laravel Server error 500 in cpanel hosting

laravel 5.5 internal server error 500
http error 500 laravel
500 server error laravel cpanel
500 server error laravel windows
http error 500 php mysql
500 internal server error localhost apache
laravel 500 server error xampp
is currently unable to handle this request. http error 500 laravel cpanel

I'm 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 doesn't work in my cpanel but when i removed following line from index.php of public folder it give access to index.php file:

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

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


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

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

Procedure on how to host your Laravel 5.1.* application on any shared hosting:

  1. Open Filezilla or any of your favorite FTP Client.
  2. Login and get into the home directory of your hosting account.
  3. Create directory called laravel-app or anything that you want inside your shared hosting account home directory.
  4. Copy everything except public directory from your application's root directory inside the newly created folder. In this case laravel-app.
  5. Now copy the contents of public directory in your public_html directory.
  6. Once everything is uploaded, open up index.php file which resides in public_html directory in any of your favorite text editor.

Change the following line:

require __DIR__.'/../bootstrap/autoload.php';


require __DIR__.'/../../laravel-app/bootstrap/autoload.php';

And also change the following line:

$app = require_once __DIR__.'/../bootstrap/app.php';


$app = require_once __DIR__.'/../../laravel-app/bootstrap/app.php';

Before Uploading:

Please make sure that you have enabled all the plugins that are required by Laravel application. And also you are using PHP >= 5.5.* . If you don't know how to view which plugins are enabled by default.

Follow these steps:

  1. Login to your cPanel account from the browser.
  2. Scroll down way to the bottom where they say select PHP Version. Click on it.
  3. From the dropdown, select PHP 5.5.6 or any of your choice, but it has to be PHP >= 5.5.*
  4. There is a list of PHP Extensions below the dropdown that can be installed. You can leave it as it is or select the extension(s) that you wish to install. For example, if your application has file uploading feature, then you need to install the fileinfo extension by check marking that extension and clicking the button Save.

DONE. Your Laravel application is live on a shared hosting account.

You can check it by going to

Hope this helps you. Happy Coding. Cheers.

laravel Server error 500 in cpanel hosting, Does the shared environment use cPanel to administer it? If so there should be an 'Error Logs' section that shows server-side errors like 500. Are  Fast answers on! Find cpanel hosting. Content updated daily for cpanel hosting.

Thank to all.. i solved it .. in cpanel there is php selector. so i changed it 5.6 and uploads all the folder of vender than give right permission to ech folder and files..

Error 500 in laravel on shared hosting, laravel 5.5 on cpanel shared hosting, still stucked with 500 error, Now it to run - is the newest place to search, delivering top results from across the web. Content updated daily for host with cpanel.

For Laravel, these are required, confirm this

PHP >= 5.5.9
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension

laravel 5.5 on cpanel shared hosting, still stucked with 500 error , Laravel Version: 5.3.16 PHP Version: 5.6.27 Database Driver & Version: Mysql [Resolved] Error 500 - Laravel in Shared hosting #16464 If not please read this :  Find Cpanel Hosts. Get Useful Information In Seconds. Visit Today & Quickly Get More Results On

check these steps:

  1. check .htaccess file on root or subdomain
  2. if move files of public to root => change index.php contents /../ to /
  3. check the php version (on loravel 5+ i used php7.2 and problem solved)
  4. check .env file

[Resolved] Error 500, How To Fix HTTP Error 500 Internal Server Message. This article If you have a shared hosting account, you can view your web site's error logs in cPanel. Error 500 could appear from having server's PHP version lower than minimum version requirement by Laravel. From my experience, the problem came out when I'm using Laravel 5.6 when my PHP version was still at 7.0 while it actually requires at least PHP 7.1.3. Changing my PHP version at PHP Selector in cPanel solved the issue.

'500 Internal Server Error' while running PHP, Laravel http 500 error on shared hosting - cpanel. I had a issues with my laravel app on vps so I needed to run a prototype as fast as possible on shared hosting. The most concise screencasts for the working developer, updated daily. There's no shortage of content at Laracasts. In fact, you could watch nonstop for days upon days, and still not see everything!

Laravel Http 500 Error On Shared Hosting - Cpanel, Laravel 5 giving server error when all files transferred from localhost to server.​This is Also, are you a VPS member or a shared hosting member of theirs? 0 Laravel not generating error log. where can i check Apache Error log in cPanel. Generally 500 errors indicate that the particular Server is not able to process the request for some reason. Some general things to check for may be to see if all the necessary services are started or that the client is sending a request that the Server can “Understand”.

Laravel 5 giving 500 internal server error on godaddy, my current site is but every time I try to the [ .​htaccess ] files it does not like - it throws a [ 500 Internal Server Error ] 🚀 Mira nuestros Planes de Hosting para Laravel 100% compatible Panel cPanel y SSL Gratis desde $8,25/mes en nuestro caso “500 Internal Server Error”.

  • can you tell me, what PHP version your Hosting is installed? here are required Items, which are must for Laravel 5.1 link
  • PHP Version 5.4.45.. thanks i knw it
  • I added, requirements as a answer, I am sure, once you update the required items, it will start working
  • Welcome to Stack Overflow! Please note you are answering an old and question. The OP found his own answer. Here is a guide on How to Answer.