Difference between revisions of "Install OS4X on Ubuntu 16"

From OS4X
Jump to navigation Jump to search
Line 2: Line 2:
 
You need the following packages to be installed:
 
You need the following packages to be installed:
 
  apt-get install apache2 \
 
  apt-get install apache2 \
  mysql \
+
  mysql-server \
 
  libapache2-mod-php7.0 \
 
  libapache2-mod-php7.0 \
 
  php7.0-mysql \
 
  php7.0-mysql \

Revision as of 13:47, 24 November 2016

Packages

You need the following packages to be installed:

apt-get install apache2 \
mysql-server \
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