I upgraded my server to Ubuntu 16 from 14 and it uninstalled php 5 and installed php 7 during the process.
now I get error500
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
The log says:
[Sat Jan 26 11:23:32.460086 2019] [fcgid:warn] [pid 16513] (104)Connection reset by peer: [client 184.108.40.206:2501] mod_fcgid: error reading data from FastCGI server [Sat Jan 26 11:23:32.460128 2019] [core:error] [pid 16513] [client 220.127.116.11:2501] End of script output before headers: index.php
Inside php7.conf i disabled the two SetHandler lineseSetHandler application/x-httpd-php SetHandler application/x-httpd-php-source
I also noted it did not install mod_php for 7 so i installed that too I tried mod_php, fcgi, and cgi wrapper all error out for php