We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed opening required 'FastRoute/autoload.php' after clean install with apt install phpmyadmin
[Mon Dec 12 18:25:49.031030 2022] [php:error] [pid 120684] [client ::1:50574] PHP Fatal error: Uncaught Error: Failed opening required 'FastRoute/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/common.inc.php(95): require_once()\n#1 /usr/share/phpmyadmin/index.php(15): require_once('...')\n#2 {main}\n thrown in /usr/share/phpmyadmin/autoload.php on line 4
The text was updated successfully, but these errors were encountered:
Hi
This is strange, how did you install phpMyAdmin?
Sorry, something went wrong.
Hi This is strange, how did you install phpMyAdmin?
Hi,
with apt install phpmyadmin
Okay, I think you should probably apt purge php-nikic-fast-route and re-install phpmyadmin
apt purge php-nikic-fast-route
apt info php-nikic-fast-route should be installed. The file /usr/share/php/FastRoute/autoload.php is probably missing
apt info php-nikic-fast-route
/usr/share/php/FastRoute/autoload.php
Edit: include_path is wrong, it should be .:/usr/share/php
include_path
.:/usr/share/php
$ php -r "echo get_include_path();" .:/usr/share/php
See normal package configs that made me find your bug: https://salsa.debian.org/phpmyadmin-team/phpmyadmin/-/blob/debian/4%255.0.4+dfsg2-2+deb11u1/debian/conf/apache.conf#L12
I think I understood what was wrong here, see: #18299 (comment)
williamdes
No branches or pull requests
Describe the bug
Failed opening required 'FastRoute/autoload.php' after clean install with apt install phpmyadmin
[Mon Dec 12 18:25:49.031030 2022] [php:error] [pid 120684] [client ::1:50574] PHP Fatal error: Uncaught Error: Failed opening required 'FastRoute/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/common.inc.php(95): require_once()\n#1 /usr/share/phpmyadmin/index.php(15): require_once('...')\n#2 {main}\n thrown in /usr/share/phpmyadmin/autoload.php on line 4
Server configuration
Client configuration
The text was updated successfully, but these errors were encountered: