Server OS

Server OS

Especially for Ubuntu


 

Ubuntu 16.04 LTS


Upgrading from 14.04 LTS

 

  1. Install update-manager-core package: sudo apt-get install update-manager-core
  2. Launch upgrade tool: sudo do-release-upgrade

Note: set /etc/update-manager/release-upgrades to lts

Upgrading PHP 5.0 to PHP 7.0

Change server blocks to use new php5-fpm location

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
    
        #fastcgi_pass 127.0.0.1:9000;
        
        #REMOVE OLD VERSION#
        fastcgi_pass unix:/var/run/php5-fpm.sock;

        #USE NEW VERSION#
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

Read more: 1, 2

 

ef36b40d2fe91c72d252440dee4a5b97e771e1d31bb6124591_640_server