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

Step-by-step – PHP 5.6 Elementary OS 5 Installation

June 7, 2020 | By the+gnu+linux+evangelist.

Installing PHP

  1. 2. Enabling PPA Repo

    Add PHP PPA for Elementary OS

    Install PHP Repo for Elementary OS
  2. 3. Installing PHP 5.6

    Then to Install PHP 5.6 on Elementary OS.

    sudo apt install php5.6
  3. 4. Setting PHP Version

    (Optional, for managing multiple Versions) And to Set PHP 5.6 as Default.

    sudo update-alternatives --config php

    And then Choose the Right PHP release ID.

  4. 5. Searching PHP 5.6 Extensions

    Again to Search PHP 5.6 Extensions.

    grep php- /var/lib/apt/lists/ppa.launchpad.net_ondrej_php*Packages

Contents