Skip to content

Commit

Permalink
Update LinuxInstall.md for Ubuntu 18.04
Browse files Browse the repository at this point in the history
Ubuntu 18.04 uses PHP 7.2.
Depreciated php-mcrypt is gone now.
  • Loading branch information
sloper42 committed Oct 27, 2018
1 parent 86905f6 commit c1fc770
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/LinuxInstall.md
Expand Up @@ -20,6 +20,12 @@ You may need to start by updating the system repositories

sudo apt-get install apache2 mysql-server mysql-client php libapache2-mod-php php-mysql php-curl php-pear php-dev php-mcrypt php-json git-core redis-server build-essential php7.0-mbstring -y

**For Ubuntu 18.04:**

*PHP 7.2*

sudo apt-get install apache2 mysql-server mysql-client php libapache2-mod-php php-mysql php-curl php-pear php-dev php-json git-core redis-server build-essential php7.2-mbstring -y

### Install PHP pecl dependencies

*Not essential, required for mail sending e.g. password recovery*
Expand All @@ -37,6 +43,11 @@ You may need to start by updating the system repositories
printf "extension=redis.so" | sudo tee /etc/php/7.0/mods-available/redis.ini 1>&2
sudo phpenmod redis

**If running PHP7.2:** Add pecl modules to php7.2 config

printf "extension=redis.so" | sudo tee /etc/php/7.2/mods-available/redis.ini 1>&2
sudo phpenmod redis

### Configure Apache

Emoncms uses a front controller to route requests, modrewrite needs to be configured:
Expand Down

0 comments on commit c1fc770

Please sign in to comment.