4

I already have PHP 5.5.9 With Apache2 on Ubuntu 14.04.1. LTS and just now installed PHP 5.6 from Installing PHP 5.6 on Xenial (16.04)

Right now I've 5.5.9, 5.6 and 7.0 versions.

In the Virtualmin I've set PHP 5.6 version for my website and it's showing Internal Server Error.

Here are the Virtualmin settings.

Clearly 5.6 version does not have many modules like cgi-fcgi.

In the error log I see these errors:

[Tue May 16 13:30:27.477892 2017] [fcgid:warn] [pid 14640] (104)Connection reset by peer: [client 103.47.172.98:59204] mod_fcgid: error reading data from FastCGI server
[Tue May 16 13:30:27.477948 2017] [core:error] [pid 14640] [client 103.47.172.98:59204] End of script output before headers: index.php

What do I need to do to enable PHP with fcgid?

Max
  • 633
user5858
  • 101

1 Answers1

0

Most likely the simplest option to do is to reinstall php and get the newest release as well as possibly uninstalling and reinstalling the Apache2 server as sometimes updating will not work as planned and can mess interconnected software up.

And after looking at it again, it looks like you also had a bad install so again, reinstall the LAMP server altogether (I think that is what you are using).

Max
  • 633