Install php7.2-cgi by entering the following commands in the terminal:
sudo apt update sudo apt install php7.2-cgi
Description:
server-side, HTML-embedded scripting language (CGI binary)
This package provides the /usr/lib/cgi-bin/php CGI interpreter built for use in Apache 2 with mod_actions, or any other CGI httpd that supports a similar mechanism. Note that MOST users probably want the php7.2-fpm package. . The following extensions are built in: Core date filter hash libxml openssl pcntl 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: php