After installing SSL on the server, the .php files stopped working and gave an error 500: https://freshfinance.pl/empty.php
HTML works fine: https://freshfinance.pl/
I have 2 entries in error.log:
[Sun Nov 07 13:01:47.229672 2021] [fcgid:warn] [pid 4630] (104)Connection reset by peer: [client 162.158.102.105:56384] mod_fcgid: error reading data from FastCGI server [Sun Nov 07 13:01:47.229742 2021] [core:error] [pid 4630] [client 162.158.102.105:56384] End of script output before headers: empty.php
I have read other forum posts about a similar issue but none have been helpful (e.g. 500 Internal Server Error for php file not for html)
What could be causing the problem on my server?