This is a cache of https://discuss.96boards.org/t/lamp-server-dragonboard/2856. It is a snapshot of the page at 2024-10-31T06:36:47.267+0000.
LAMP server DragonBoard - DragonBoard410c - 96Boards Forum

LAMP server DragonBoard

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/