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

How to Install LAMP PHP 8.x on Oracle Linux 9 – Step-by-step

January 26, 2024 | By the+gnu+linux+evangelist.

Installing

  1. 3. Installing PHP 8.x

    Now to Install PHP 8.x on Oracle Linux
    First, enable the Module with:

    sudo dnf module reset php

    Then to Search for the available PHP 8 Releases:

    dnf search php8

    And then to Install PHP 8.3 play:

    sudo dnf module install php:remi-8.3

    This Setup includes also the most useful Extensions and Tools.
    Next to Setup also Apache and MariaDB Servers again:

    sudo dnf --enablerepo=remi install php httpd mariadb-server mariadb php-mysqli

    Especially relevant, then in case of mysqlnd_global_stats Issue see the: Troubleshooting.
    This Setup includes also the most useful Extensions and Tools.
    Then Test your new Php with:

    php -v

  2. 4. Installing PHP 8.x Extensions

    Again to Search PHP 8.x Extensions.

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

    dnf search php83-

    And possibily refine the Result using a grep Pipe

    dnf search php- | grep [KEYWORD]

    Or:

    dnf search php83- | grep extension

    Next to Install them play:

    sudo dnf install  php83-php-pecl-[MYEXT]

    Or also for instance, on a Multiple Setup:

    sudo dnf install  php83-php-pecl-{mcrypt,mysql,imagick,memcached}

    Simply Hit “y” and Enter when the Command Stop:

    Solving

Contents