error 500

Discussions about the usage of KeyHelp.
Post Reply
PuntonetSvb
Posts: 33
Joined: Thu 7. Apr 2022, 19:16

error 500

Post by PuntonetSvb »

I am upgrading all my websites to php 8.1, and sometimes I get the 500 error, due to php incompatibilities.
How can I enable errors to be displayed, instead of error 500?
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: error 500

Post by 24unix »

Just look in ~/logs/error.log
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: error 500

Post by Alexander »

These logs can also be viewed within the KeyHelp UI.

Just go to "KeyHelp User Area" -> "Domains" -> "View web server logs".

Also you just can enable error output in your PHP scripts:

Code: Select all

ini_set("display_errors", true);
ini_set("display_startup_errors", true);
ini_set("error_reporting", E_ALL);
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply