$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

PHP 8.0 Installation in Arch Linux – Step-by-step

October 18, 2021 | By the+gnu+linux+evangelist.

Installing PHP

  1. 2. Installing AUR Package Manager

    How to Install Yay for Manjaro GNU/Linux

    Installing Yay Aur Package Installer
  2. 3. Installing PHP 8.0

    Now to Install PHP 8.0 on Arch
    First, Install the Required Packages:

    sudo pacman -Sy hspell nuspell libvoikko

    Then to Setup it simply play:

    yay -Sy --noconfirm php80

    On Prompt try simply to Hit “Enter” and follow with the Default Choices.
    Possibly to Accept the License Agreement Hit “q”.
    In case of any Issue and for further insight see: AUR Php80.
    In case of a “gpg: keyserver receive failed: No name” Issue see the -> Troubleshooting.
    Last, Test your new Php with:

    php -v
  3. 4. Searching PHP 8.0 Extensions

    Again to Search PHP 8.0 Extensions.

    So you can Search for the available PHP 8 Extensions running:

    yay -Ss php8

    And possibily refine the Result using a grep Pipe

    yay -Ss php8 | grep [KEYWORD]

    Like for instance:

    yay -Ss php8 | grep mysql
  4. 5. Setting PHP Version

    (Optional) In case to Manage Multiple PHP Versions on System
    Use the Default CLI Tool:

    sudo update-alternatives --config php

    Possibly to Install the Package:

    sudo pacman -Sy dpkg

    If more than One then Simply Choose the Right PHP Release Entry.

    Managing

Contents