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?
error 500
-
- Posts: 33
- Joined: Thu 7. Apr 2022, 19:16
Re: error 500
Just look in ~/logs/error.log
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: error 500
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:
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
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************