S currently unable to handle this request http error 500 laravel

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?

asked Oct 9, 2017 at 5:45

S currently unable to handle this request http error 500 laravel

1

I hope, You already do this.

  • You should change those public facing permissions to 644.
  • Change the Storage folder permission to 777.
  • Check the logs.
  • Make sure you configured nginx properly and then restart nginx.
  • Should you be sure the APP_KEY is in the .env file.
  • You should run php artisan config:clear after any changes to .env.

answered Mar 12, 2018 at 12:35

3

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

answered Oct 9, 2017 at 5:48

Vision CoderzVision Coderz

8,0245 gold badges39 silver badges56 bronze badges

1

I had the same issue on Laravel 8, turns out the problem arose from interrupting a composer update process.

If you are in the same situation, just run composer update, that should fix it.

answered Dec 14, 2020 at 17:13

S currently unable to handle this request http error 500 laravel

0

I faced this problem too many times, the solution was to run #composer install and/or #composer update to update the composer dependencies packages, or you might even lost the .htaccess file during moving/copying the files in the live server

answered Feb 7 at 3:38

S currently unable to handle this request http error 500 laravel

AstroAstro

4115 silver badges10 bronze badges

For Laravel 8 in docker, you might want to change the permission of your storage folder.

sudo chmod -R 777 storage  

answered Feb 16 at 11:54

S currently unable to handle this request http error 500 laravel

MacdonaldMacdonald

6277 silver badges13 bronze badges

0

I use Manjaro Linux. I installed Apache, MySQL, Php, PhpMyAdmin separately (not using lampp)

this issue "localhost is currently unable to handle this request" appears because we have to enable display_error in the php configuration located at

/etc/php/php.ini

switch display error to on

display_errors = On 

and

display_startup_errors = On

then restart apache server

sudo systemctl server restarting httpd

then information about the error will appear in your browser

answered May 11, 2019 at 17:21

This Page Isn T Working Http Error 500 Laravel On Server With Code Examples

The solution to This Page Isn T Working Http Error 500 Laravel On Server will be demonstrated using examples in this article.

try to run this command one by one:
php artisan key:generate
php artisan cache:clear
php artisan config:clear
composer dump-autoload

By examining various real-world cases, we've shown how to fix the This Page Isn T Working Http Error 500 Laravel On Server bug.

How do I fix a 500 Internal Server Error laravel?

If you have a 500 Server Error, just rename the ". env. example" to ". env" and run: - php artisan key:generate - php artisan cache:clear - php artisan config:clear In my case, I pulled the project to Github repo to local machine.

What does 500 server error mean in laravel?

Best Answer. Normally, a 500 error means that there is some kind of problem with your . htaccess file (in your public directory) or possibly the web. config file (in the same directory).

How do I fix this is currently unable to handle this request http error 500?

How to Fix the 500 Internal Server Error in WordPress

  • Back up your website.
  • Enable the WordPress debugging feature.
  • Deactivate your plugins.
  • Disable your currently active theme.
  • Check your . htaccess file.
  • Check your PHP memory limit.
  • Replace your WordPress core files.

How do I run a laravel project on a live server?

How to Deploy Laravel Project on Cloudways Server

  • Step 1: Install Laravel Application.
  • Step 2: Deploy the Application from a Repository.
  • Step 3: SSH to Your Server.
  • Step 4: Run the Composer.
  • Step 5: Update the Environment Configurations.
  • Step 6: Execute Database Migration and Seeder [OPTIONAL]

What is the reason for 500 internal server error?

The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.

What is the 500 internal server error?

The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. This error response is a generic "catch-all" response.08-Sept-2022

What is .htaccess file in Laravel?

htaccess file that is used to allow URLs without index. php . If you use Apache to serve your Laravel application, be sure to enable the mod_rewrite module.

How do I fix internal server error?

How to Fix the 500 Internal Server Error

  • Reload the web page.
  • Clear your browser's cache.
  • Delete your browser's cookies.
  • Troubleshoot as a 504 Gateway Timeout error instead.
  • Contacting the website is another option.
  • Come back later.

How do I fix server problems?

Tips for Troubleshooting Server Down Issues:

  • Network structure analysis: The first and foremost thing you need to do is analyze your network structure.
  • Analyze your network layout:
  • Verify your WAN and LAN connections:
  • No IP address:
  • Check your server host:
  • Record maintenance:
  • Traceroute:

How can I fix 500 error in php?

How to Resolve 500 Internal Server Error

  • Step 1: Debugging the Issue.
  • Step 2: Empty . htaccess File.
  • Step 3: Debug . htaccess Issues.
  • Step 4: Increase PHP Memory Limit.
  • Step 5: Check if the Admin Works.
  • Step 6: Revert Recent Changes.
  • Step 7: Audit Your Plugins/Extensions/Modules.
  • Step 8: Check File Permissions.

How to fix currently unable to handle this request Http error 500?

How to Fix the 500 Internal Server Error in WordPress.
Back up your website..
Enable the WordPress debugging feature..
Deactivate your plugins..
Disable your currently active theme..
Check your . htaccess file..
Check your PHP memory limit..
Replace your WordPress core files..

Is currently unable to handle this request Http error 500 nginx?

Hard Refresh Sometimes you may get 500 internal server error in NGINX because your server is being restarted at that moment, or there are too many requests for web server to handle. So it doesn't have enough resources to serve your request.

Is currently unable to handle this request Http error 500 iis?

This problem occurs because the server that is running IIS 7.0 cannot access the configured root directory of the requested location. Make sure that the server that is running IIS 7.0 can access the configured root directory of the requested location.