I'm trying to reinstall my server and have run into a new problem that I can't seem to figure out.
I'm running a LAMP setup and host a few sites for my friends, for that I have open_basedir set in their Apache conf files but that suddenly affect phpMyAdmin (Warning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path)
It works fine if I remove the open_basedir from the virtual host.
What really confuses me is that this has never been an issue in any of my previous setups, has something changed or am I doing something wrong this time?
Apache2.4.18
php 7.0.4
phpMyAdmin 4.5.4.1
Turns out the problem was that phpMyAdmin wasn't set up to php7 So all I had to do was change
to
in /etc/phpmyadmin/apache.conf