>

Upcoming News Article

Version Changes — PHP Programming Language

Amazon Linux 2(AL2) currently provides two versions of the PHP programming language, each supported for the same amount of time. The versions of PHP available in default Amazon Linux 2 are much older. Documentation also exists for migrating from PHP 8.0 to 8.1.

AL2 includes PHP 8.0, 8.1, and 8.2 in the amazon-linux-extras repository.

The current version of PHP installed is 7.4. You can update this version to 8.0 by following these steps:

  1. Add the amazon-linux-extras repository to your system.
  2. Install the PHP 8.0 package.
  3. Configure your web server to use PHP 8.0.

Leave a Reply