I'm trying to get phpMyAdmin to work, but it seems like it's proving to be a lot more difficult than I thought it would be.
Does anyone know what's wrong here?
BTW I'm using PHP 7 on GalliumOS (basically Ubuntu for Chromebooks).
I'm trying to get phpMyAdmin to work, but it seems like it's proving to be a lot more difficult than I thought it would be.
Does anyone know what's wrong here?
BTW I'm using PHP 7 on GalliumOS (basically Ubuntu for Chromebooks).
Provided you already have PHP installed, you may resolve it by editing your /etc/apache2/apache2.conf
, adding the following lines to the bottom of the file:
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
Remember to restart Apache after saving your changes.
I know this is a late answer, but I stumbled into the same problem, and
sudo a2enmod php7.x
(php 7.x is the actual php version) fixed my issue (apparently php was updated and the new version was not enabled in apache)