Upgrade to PHP 7

4 posts / 0 new
Last post
#1 Sat, 09/30/2017 - 02:49
h2web

Upgrade to PHP 7

have a good day

I have upgraded my VPS to PHP 7 after upgrading my site not working maybe PHP issue please advise how I can complete the PHP upgrade my website: http://tango.redirectme.net/

LOG Error [Sat Sep 30 03:42:00.492817 2017] [fcgid:warn] [pid 18318] (104)Connection reset by peer: [client XXXXXXXXXX ] mod_fcgid: error reading data from FastCGI server [Sat Sep 30 03:42:00.492953 2017] [core:error] [pid 18318] [client XXXXXXX ] End of script output before headers: index.php

current PHP Informathion PHP 7.0.24-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Sep 28 2017 16:33:02) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.24-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies

thanks for help

Sat, 09/30/2017 - 12:11
h2web

there is any help ?

Sat, 09/30/2017 - 14:19
Joe
Joe's picture

You've told us nothing about your problem or your system. What distro/version?

Have you tried a simple phpinfo page, just to be sure the problem isn't errors in your script? ("end of script output before headers" indicates a bug in the script in many cases)

e.g. put the following in a file called phpinfo.php (or whatever) and see if it works when you browse to that path on your server:

<?php

phpinfo();

--

Check out the forum guidelines!

Sat, 09/30/2017 - 17:41
h2web

have a good day Joe, here is distro/version : Operating system Ubuntu Linux 14.04.5 Webmin version 1.852 Usermin version 1.720 Virtualmin version 6.00

log after i create phpinfo.php is

[Sat Sep 30 18:38:15.202491 2017] [fcgid:warn] [pid 18318] (104)Connection reset by peer: [client 156.209.x.x:52757] mod_fcgid: error reading data from FastCGI server [Sat Sep 30 18:38:15.202986 2017] [core:error] [pid 18318] [client 156.209.24.228:52757] End of script output before headers: phpinfo.php

please advice thanks for the help

Topic locked