Please select your OS: Red Hat Enterprise Linux (RHEL). Oracle Linux. SUSE SLES openSUSE Leap. Installs the Apache web server configuration files and configures Apache settings. Sudo make install-webconf sudo a2enmod rewrite sudo a2enmod cgi. This tutorial shows how to install Apache, MariaDB and PHP7.1 (LAMP) on Ubuntu 17.10. You can follow this tutorial on a VPS or on a local computer. Admins of SELinux-enabled distributions such as CentOS, Fedora, and Red Hat Enterprise Linux may need to set new rules to enable installing Nextcloud. A2enmod setenvif. You must disable any server-configured authentication for Nextcloud, as it uses Basic authentication internally for DAV services. If you have turned.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is an open source, popular general-purpose scripting language that is widely-used and best suited for developing websites and web-based applications. It is a server-side scripting language that can be embedded in HTML.


Currently, there are three supported versions of PHP, i.e PHP 5.6, 7.0 and 7.1. Meaning PHP 5.3, 5.4 and 5.5 have all reached end of life; they are no longer supported with security updates. In this article, we will explain how to install all the supported versions of PHP in Ubuntu and its derivatives with most requested PHP extensions for both Apache and Nginx web servers using a Ondřej Surý PPA. We will also explain how to set default version of PHP to be used on the Ubuntu system. Note that PHP 7.x is the supported stable version in the Ubuntu software repositories, you can confirm this by running the below.
$sudo apt show php OR $ sudo apt show php -a. Add PPA in Ubuntu 2. Next, update the system as follows. $ sudo apt-get update 3. Now install different supported versions of PHP as follows.