PhpMyAdmin 4.8.2 fails on FreeBSD 11.1

wattie

Verified User
Joined
May 31, 2008
Messages
1,235
Location
Bulgaria
It looks like there is some problem with 4.8.2. When I update...

Code:
root@srv2:/usr/local/directadmin/custombuild # ./build phpmyadmin
Using pma_auth_logging-4.8.patch to add quotes in logging, so brute_filter.list can find the IPs
Downloading             phpMyAdmin-4.8.2-all-languages.tar.gz...
/usr/local/directadmin/custombuild/phpMyAdmin-100% of 9336 kB 8291 kBps 00m01s
Adding AuthLog to /var/www/html/phpMyAdmin-4.8.2-all-languages/config.inc.php
Patching phpMyAdmin to log failed authentications for BFM...
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- libraries/classes/Logging.php.orig 2018-04-15 18:54:36.973996388 -0600
|+++ libraries/classes/Logging.php      2018-04-15 19:03:09.094996350 -0600
--------------------------
Patching file libraries/classes/Logging.php using Plan A...
Hunk #1 succeeded at 51.
done
phpMyAdmin 4.8.2-all-languages installation is done.


... I get 500 Internal Server Error when trying to load PhpMyAdmin. The Apache error log says:

AH01071: Got error 'PHP message: PHP Fatal error: Unknown: Failed opening required '/var/www/html/phpMyAdmin/index.php' (include_path='.:/usr/local/php72/lib/php') in Unknown on line 0\n'

OS is FreeBSD 11.1. Reverting back to 4.8.1 and it works fine.
 
Last edited:
Hello,

Did you try to restart apache and/or php-fpm? Looks like an issue with Opcache, and you need to clear it after upgrade,
 
Back
Top