Hi I have a ubuntu server which hosts several sites one of which is a site is not working. When accessing the url it gives an internal 500 error. I had a look at the log for this particular site and it shows the errors: 104 Connection reset by peer: mod_fcgid error reading data from FASTCGI server Premature end of script headers: index.php Not sure where to even start with this as its only this site. Hope some can assist
The error means that php process dies unexpectedly, this can be a php coding error. If the site is written in php, then you should checks its syntax, e.g. with: find /var/www/domain.tld/web -name "*.php" -exec php -l {} \; | grep -v 'No syntax e'
Deprecated php Hi Thanks for the response. When i ran the script it came up and fixed them errors. But not in my error log for the site i get the following: (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server Premature end of script headers: index.php Any ideas?