Difference between revisions of "Install OS4X on Ubuntu 16"

From OS4X
Jump to navigation Jump to search
Line 1: Line 1:
 
== Packages ==
 
== Packages ==
 
You need the following packages to be installed:
 
You need the following packages to be installed:
  apache2
+
  apt-get install apache2 \
  mysql
+
  mysql \
  libapache2-mod-php7.0
+
  libapache2-mod-php7.0 \
  php7.0-mysql
+
  php7.0-mysql \
  php-xml
+
  php-xml \
 
  xsltproc
 
  xsltproc
  

Revision as of 13:46, 24 November 2016

Packages

You need the following packages to be installed:

apt-get install apache2 \
mysql \
libapache2-mod-php7.0 \
php7.0-mysql \
php-xml \
xsltproc

Configuration changes

Apache

In order to use PHP7 with Apache, you have to switch from default MPM to pre-fork mode:

a2dismod mpm_event
a2enmod mpm_prefork
a2enmod php7.0
service apache2 restart