Install libphp-embed by entering the following commands in the terminal:
sudo apt update sudo apt install libphp-embed
HTML-embedded scripting language (Embedded SAPI library) (default)
This package provides the library /usr/lib/libphp.so which can be used by application developers to embed PHP scripting functionality. . 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. . This package is a dependency package, which depends on Ubuntu's default PHP version (currently 7.2).