Install OS4X on Ubuntu 16

From OS4X
Revision as of 15:21, 24 November 2016 by Admin (talk | contribs)
Jump to navigation Jump to search

General

Ubuntu 16.x is supported by the automatic OS4X installer since build 2016-11-24. Older versions lack the ability to support various features of this modern operating system.

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

Apache prefork

The PHP7 module only works correctly in Apache2 prefork mode. If you have a previously installed Apache, you have to switch from MPM mode to prefork:

a2dismod mpm_worker
a2enmod mpm_prefork

Don't forget to restart Apache afterwards (see below).

Apache

After successful installation of all required packages, you have to restart the Apache webserver once in order to load the MySQL functionality in the PHP module:

service apache2 restart