LAMP server DragonBoard

tutorial

#1

In case anyone is interested in running a LAMP server on DragonBoard 410 with Debian build and latest version of PHP (7.0), The PHP code does not automatically run in the browser. Instead, it shows up as text.

Following modifications need to be made:

  1. Add this to the bottom of /etc/apache2/apache2.conf (remove spaces within <>)

< FilesMatch .php$ >
SetHandler application/x-httpd-php
< /FilesMatch >

  1. Run this from the terminal:

sudo a2dismod mpm_event && sudo a2enmod mpm_prefork && sudo a2enmod php7

  1. Then don’t forget to restart Apache so it knows you changed stuff:
    sudo service apache2 restart

This is a summary from: https://www.atlantic.net/community/howto/try-php7-lamp-ubuntu-14-04/