Apache

Stop apache virtualization.

# vi /etc/systemd/system/apache2.service
PrivateTmp=true ==> PrivateTmp=false

Reference: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#PrivateTmp=

# ln -s /lib/systemd/system/apache2.service  /etc/systemd/system/apache2.service

Create the following empty files and directory:

drwxr-xr-x  2 www-data acdsn 4096 Jun  3 16:51 easygateway
-rwxrwxrwx  1 www-data acdsn    0 Jun  3 16:52 easygateway.action
-rwxrwxrwx  1 www-data acdsn    0 Jun  3 16:52 easygateway.action.new
-rwxrwxrwx  1 www-data acdsn    0 Jun  3 16:52 easygateway.gprs.xml
-rwxrwxrwx  1 www-data acdsn    0 Jun  3 16:52 easygateway.sync
-rwxrwxrwx  1 www-data acdsn    0 Jun  3 16:52 easygateway.sync.new

Packages

Used by gettext

# apt-get install --no-install-recommends php7.0-mbstring

MySQL module for PHP

# apt install --no-install-recommends php7.0-mysql

Apache Portable Runtime Utility Library - MySQL Driver (see /etc/apache2/sites-available/testing.com.co.conf files.easygateway.testing.com.co for more details)

# apt install --no-install-recommends libaprutil1-dbd-mysql