MachineVisionUiB / machinevision

We are developing a database to map and interpret the representations and uses of machine vision technologies in digital art, computer games and narratives such as science fiction novels, movies and creepypasta.
http://uib.no/en/machinevision
4 stars 0 forks source link

Amazon EC2 - Upgrade PHP from 7.4 to 8.0 #143

Closed steinmb closed 2 years ago

steinmb commented 3 years ago

PHP 7.4 moving toward EOL and we should just move to PHP 8.0 that is well supported and better than 7.4.x.

Scope

Details

sudo yum list installed | grep php

php-cli.x86_64                 7.4.21-1.amzn2                 @amzn2extra-php7.4
php-common.x86_64              7.4.21-1.amzn2                 @amzn2extra-php7.4
php-devel.x86_64               7.4.21-1.amzn2                 @amzn2extra-php7.4
php-fpm.x86_64                 7.4.21-1.amzn2                 @amzn2extra-php7.4
php-gd.x86_64                  7.4.21-1.amzn2                 @amzn2extra-php7.4
php-json.x86_64                7.4.21-1.amzn2                 @amzn2extra-php7.4
php-mbstring.x86_64            7.4.21-1.amzn2                 @amzn2extra-php7.4
php-mysqlnd.x86_64             7.4.21-1.amzn2                 @amzn2extra-php7.4
php-opcache.x86_64             7.4.21-1.amzn2                 @amzn2extra-php7.4
php-pdo.x86_64                 7.4.21-1.amzn2                 @amzn2extra-php7.4
php-pear.noarch                1:1.10.12-9.amzn2              @amzn2-core
php-pecl-apcu.x86_64           5.1.18-1.amzn2                 @amzn2extra-php7.4
php-process.x86_64             7.4.21-1.amzn2                 @amzn2extra-php7.4
php-xml.x86_64                 7.4.21-1.amzn2                 @amzn2extra-php7.4

sudo  amazon-linux-extras | grep php

 42  php7.4=latest            enabled      [ =stable ]
  _  php8.0                   available    [ =stable ]
steinmb commented 2 years ago

Talking to my self:

steinmb commented 2 years ago

@jill - While preparing for this I a major cleanup of our Amazon AWS environment:

steinmb commented 2 years ago

Removed PHP 7.4 and install PHP 8.0. Compiled up apcu and uploadprogress. Reboot and still works OK. Closing

sudo yum list installed | grep php
php-cli.x86_64                  8.0.20-1.amzn2                @amzn2extra-php8.0
php-common.x86_64               8.0.20-1.amzn2                @amzn2extra-php8.0
php-devel.x86_64                8.0.20-1.amzn2                @amzn2extra-php8.0
php-fpm.x86_64                  8.0.20-1.amzn2                @amzn2extra-php8.0
php-gd.x86_64                   8.0.20-1.amzn2                @amzn2extra-php8.0
php-mbstring.x86_64             8.0.20-1.amzn2                @amzn2extra-php8.0
php-mysqlnd.x86_64              8.0.20-1.amzn2                @amzn2extra-php8.0
php-opcache.x86_64              8.0.20-1.amzn2                @amzn2extra-php8.0
php-pdo.x86_64                  8.0.20-1.amzn2                @amzn2extra-php8.0
php-pear.noarch                 1:1.10.12-9.amzn2             @amzn2-core
php-process.x86_64              8.0.20-1.amzn2                @amzn2extra-php8.0
php-xml.x86_64                  8.0.20-1.amzn2                @amzn2extra-php8.0
sudo  amazon-linux-extras | grep php

  _  php7.4                   available    [ =stable ]
 51  php8.0=latest            enabled      [ =stable ]