Installing PHP Module for Apache on Ubuntu - Serverlab
www.serverlab.ca › tutorials › linuxDec 17, 2019 · Out of the box, a default Apache2 web server installation on Ubuntu 18.04, 18.10, 19.04, and 19.10 will not run a PHP application. The PHP module is not included. This tutorial will show you how to configure an Apache web server for running PHP applications. Installing Apache. To install Apache on your Ubuntu server, run the following command.
How to Enable PHP in Apache - Fedingo
https://fedingo.com/how-to-enable-php-in-apache13.10.2021 · Here are the steps to enable PHP in Apache. If you have not installed PHP on your system, open terminal and run the following command to install it. $ sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql In Ubuntu/Debian systems, you can easily enable PHP in Apache using the a2enmod command, and restarting Apache server, as shown below.