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

LAMP PHP 7 Installation in Ubuntu 22.04 – Step-by-step

March 8, 2022 | By the+gnu+linux+evangelist.

Installing

  1. 2. Enabling PPA Repo

    Add PHP PPA for Ubuntu GNU/Linux

    Install PHP Repo for Ubuntu
  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 Ubuntu.

    Enabling Apache2 Rewrite for Ubuntu

Contents