500 Server error



  • After installing on Debian and configuring nginx the server says 500 error
    URL is http://root.lufu.tv/



  • Please give the contents of /var/log/nginx/error.log as well as any logs in /srv/pufferpanel/logs



  • there arent any pufferpanel logs

    nginx error.log

    2016/02/29 22:35:42 [error] 9743#0: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:35:44 [error] 9743#0: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:36:39 [error] 9743#0: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:39:32 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:39:37 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET /install HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:39:47 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:40:28 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET /install HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:40:32 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET /install.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:40:39 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET /install/nstall.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:40:42 [error] 9743#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET /install/install.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:44:04 [error] 9743#0: *29 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET /install/install.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:44:13 [error] 9743#0: *29 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: cp.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cp.lufu.tv"
    2016/02/29 22:56:28 [error] 9793#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 22:57:38 [error] 9793#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 22:57:49 [error] 9793#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 23:02:33 [error] 9793#0: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 23:07:01 [error] 9793#0: *11 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 23:08:23 [error] 2149#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 23:09:56 [error] 2149#0: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/02/29 23:14:28 [error] 2149#0: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 91.39.222.133, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/03/01 00:51:27 [error] 2149#0: *8 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 104.228.65.25, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    2016/03/01 00:51:27 [error] 2149#0: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value 
    in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 104.228.65.25, server: root.lufu.tv, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv", referrer: "http://root.lufu.tv/"
    2016/03/01 00:51:29 [error] 2149#0: *8 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Can't use function return value in write context in /srv/pufferpanel/src/core/daemon.php on line 237" while reading response header from upstream, client: 104.228.65.25, server: root.lufu.tv, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "root.lufu.tv"
    


  • Please help me!



  • What is your PHP version ?



  • where can i check this?



  • "php --version" in the server (ssh)



  • Here you are

    root@server180:~# php --version                  
    PHP 5.4.45-0+deb7u2 (cli) (built: Oct 17 2015 08:
    26:31)                                           
    Copyright (c) 1997-2014 The PHP Group            
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend 
    Technologies                                     
    root@server180:~#
    


  • Can you try to restart php-fpm "service php5-fpm restart" and try accessing the webpage.



  • I already tried it. I also reinstalled the panel, php, nginx etc. Nothing worked :(
    The screenshots look very nice and I'm opening a minecraft server network. I'm a twitch streamer with 150-300 live viewers.



  • @Lufu Your PHP version is outdated, we support PHP 5.5+. What distro are you using?



  • I used the command

    apt-get install php5
    

    and no update was shown :o

    What do you mean with distro?



  • Debian, Ubuntu, etc and version of it.



  • Sorry, I phoned with my chef.

    I use Debian 8



  • Can you execute "cat /etc/apt/sources.list" put here the result ?



  • root@server180:~# cat /etc/apt/sources.list      
    # deb http://ftp.de.debian.org/debian/ wheezy mai
    n                                                
                                                     
    deb http://ftp.de.debian.org/debian/ wheezy main 
    non-free contrib                                 
    deb-src http://ftp.de.debian.org/debian/ wheezy m
    ain non-free contrib                             
                                                     
    deb http://security.debian.org/ wheezy/updates ma
    in contrib non-free                              
    deb-src http://security.debian.org/ wheezy/update
    s main contrib non-free                          
                                                     
    # wheezy-updates, previously known as 'volatile' 
    deb http://ftp.de.debian.org/debian/ wheezy-updat
    es main contrib non-free                         
    deb-src http://ftp.de.debian.org/debian/ wheezy-u
    pdates main contrib non-free                     
    root@server180:~#                                
    


  • Are you sure you use Debian 8 ? "uname -a"



  • My server hoster asked me what Version i want and i said debian 8
    Its a 32GB RAM dedicated rootserver with an intel core i7 processor

    Here you are:

    root@server180:~# uname -a                       
    Linux server180 3.2.0-4-amd64 #1 SMP Debian 3.2.7
    3-2+deb7u2 x86_64 GNU/Linux                      
    root@server180:~#
    


  • @Lufu said:

    deb7u2 x86_64

    Your server run on Debian 7



  • Ok. Is that producing the problem?


Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.