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

LAMP PHP 7 Installation in Linux Mint 21 – Step-by-step

February 7, 2023 | By the+gnu+linux+evangelist.

Installing

  1. 2. Enabling PPA Repo

    Add PHP PPA for Mint GNU/Linux

    Install PHP Repo for Mint
  2. 3. Installing LAMP

    Then to Install Complete LAMP Stack
    To Search for the available PHP7 releases and Modules use:

    sudo apt search php7

    So currently to install the latest Release play:

    sudo apt install apache2 mysql-server php7.4 php7.4-mysql libapache2-mod-php7.4

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    How to Enable Apache2 mod_rewrite Module on Mint.

    Enabling Apache2 Rewrite for Mint

Contents