I hope you guys can help me a bit here with setting up PHP 7 on Debian 8.
I've installed PHP7 on my Debian 8 using the method described here: https://www.colinodell.com/blog/2015-12/installing-php-7-0-0 After that, I went into virtualmin and changed php version on a virtual server to 7.0.5 under server configuration -> php versions (both php 5.6.17 and 7.0.5 were listed).
From server configuration -> website options I have php enabled through fcgi and under php information I can see a lot of modules for PHP 7.0. I also did a recheck of the virtualmin configuration and it told me that: The following PHP versions are available : 5.6.17 (/usr/bin/php5-cgi), 7.0.5 (/usr/bin/php7.0).
So it seems fine... right?
Problem is, I'm testing with a simple php page with only this code:
But I just get a Internal Server Error displayed. In my log I see this error:
[Fri Apr 01 01:26:13.339029 2016] [fcgid:warn] [pid 86577] (104)Connection reset by peer: [client 10.0.1.105:59629] mod_fcgid: error reading data from FastCGI server [Fri Apr 01 01:26:13.339073 2016] [core:error] [pid 86577] [client 10.0.1.105:59629] End of script output before headers: index.php
What am I missing to get php 7 running?