Difference between revisions of "Install OS4X on Ubuntu 16"

From OS4X
Jump to navigation Jump to search
(New page: == Packages == You need the following packages to be installed: apache2 mysql libapache2-mod-php7.0 php7.0-mysql php-xml xsltproc == Configuration changes == === Apache === In order...)
 
Line 13: Line 13:
 
  a2dismod mpm_event
 
  a2dismod mpm_event
 
  a2enmod mpm_prefork
 
  a2enmod mpm_prefork
 +
a2enmod php7.0
 
  service apache2 restart
 
  service apache2 restart

Revision as of 13:43, 24 November 2016

Packages

You need the following packages to be installed:

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