I have a problem on my nginx server, so I tried to update php from 5.3 to 5.5 with this commands:
add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install php5
Earlier work all right but before I make this update I get 502 Bad Gateway nginx 1.1.19. This is beacause I need to update and the nginx server?please help me p.s. If I make sudo netstat -lntp | grep ':80' :
tcp 0 0.0.0.0:80 LISTEN 1352/nginx