How to Install libapache2-mod-php7.2 in Ubuntu 18.04



Install libapache2-mod-php7.2 by entering the following commands in the terminal:

sudo apt update
sudo apt install libapache2-mod-php7.2

Description:

server-side, HTML-embedded scripting language (Apache 2 module)

This package provides the PHP module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache's prefork MPM, as it is not compiled thread-safe. . The following extensions are built in: Core date filter hash libxml openssl pcre Reflection session sodium SPL standard zlib. . PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Homepage: http://www.php.net/

Version: 7.2.3-1ubuntu1

Section: httpd