After I installed a website from git and imported the corresponding database i tried getting the website to work locally. But I keep getting the error

HTML; http_response_code(500); exit(1); } $bootstrap = Bootstrap::create(BP, $_SERVER); /** @var \Magento\Framework\App\Http $app */ $app = $bootstrap->createApplication(\Magento\Framework\App\Http::class); $bootstrap->run($app); 

I looked at the solution from: After Install magento 2.4.5 facing issue AutoLoad error

But I already got the libapache2-mod-php installed. Some specs:

  • Apahce2
  • php8.1
  • mysql

I've added a screenshot of the error when i go to localhost: enter image description here

  • Can you please try the solution from the link - magento.stackexchange.com/questions/164422/… Or could you please show error screenshot
    – user3411
    Feb 12 at 16:21
  • @user3411 I've tried setting the permission (and restarting apache2) but I still get the same error. I've added a sreen of the error.
    – VdeJ
    Feb 13 at 9:17


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.