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?
5.6-apache
tag) usingdocker
(orlcx
), which seems a cleaner solution to me. PHP on Docker Hub – dgonzalez May 20 '17 at 09:22