Skip to content
New issue

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

PHPMyAdmin produces not output if mysqli is missing #17898

Closed
megabert opened this issue Nov 15, 2022 · 6 comments
Closed

PHPMyAdmin produces not output if mysqli is missing #17898

megabert opened this issue Nov 15, 2022 · 6 comments
Assignees
Labels
Bug A problem or regression with an existing feature duplicate
Milestone

Comments

@megabert
Copy link

megabert commented Nov 15, 2022

Description

PHPMyAdmin does not generate any output (CLI or browser). So no hint what is wrong when the mysqli extension is missing.

To Reproduce

Just call PHPMyAdmin in browser or from commandline.

Expected behavior

The program states that mysqli extension (or whatever else) is missing via the error log or via stderr.

Server configuration

Server 1:

  • Operating system: Ubuntu 22.04
  • Web server: apache 2.4.52
  • PHP version: 8.1.2-1ubuntu2.8
  • phpMyAdmin version: 5.2.0

Server 2:

  • Operating system: Ubuntu 20.04
  • Web server: 2.4.41-4ubuntu3.12
  • PHP version: 7.4.3-4ubuntu2.15
  • phpMyAdmin version: 5.2.0

Client configuration

  • Browser: firefox 106.0.5
  • Operating system: Debian 11.5
@megabert megabert changed the title PHPMyAdmin fails silently if mysqli is missing PHPMyAdmin produces not output if mysqli is missing Nov 15, 2022
@ibennetch
Copy link
Member

Thanks for the report. We will have to look in to this — it used to be that we would show a clear error message at the login window. Perhaps something got changed along the way.

@megabert
Copy link
Author

Here's a package list for php/apache packages on the system:

# dpkg -l|grep -iE "(php|apache)" | cut -c1-70
ii  apache2                               2.4.52-1ubuntu4.1           
ii  apache2-bin                           2.4.52-1ubuntu4.1           
ii  apache2-data                          2.4.52-1ubuntu4.1           
ii  apache2-utils                         2.4.52-1ubuntu4.1           
ii  libapache2-mod-php8.1                 8.1.2-1ubuntu2.8            
ii  libapr1:amd64                         1.7.0-8build1               
ii  libaprutil1:amd64                     1.6.1-5ubuntu4              
ii  libaprutil1-dbd-sqlite3:amd64         1.6.1-5ubuntu4              
ii  libaprutil1-ldap:amd64                1.6.1-5ubuntu4              
ii  php-common                            2:92ubuntu1                 
ii  php8.1                                8.1.2-1ubuntu2.8            
ii  php8.1-cli                            8.1.2-1ubuntu2.8            
ii  php8.1-common                         8.1.2-1ubuntu2.8            
ii  php8.1-curl                           8.1.2-1ubuntu2.8            
rc  php8.1-mysql                          8.1.2-1ubuntu2.8            
ii  php8.1-opcache                        8.1.2-1ubuntu2.8            
ii  php8.1-readline                       8.1.2-1ubuntu2.8            
ii  php8.1-xml                            8.1.2-1ubuntu2.8  

@williamdes williamdes added this to the 5.2.1 milestone Nov 15, 2022
@williamdes
Copy link
Member

Hi!
I think this is a duplicate of #17527
You should try the latest 5.2 version in development (phpMyAdmin 5.2+snapshot) also available as a non official docker image and let us know

@williamdes williamdes added Bug A problem or regression with an existing feature duplicate labels Nov 15, 2022
@megabert
Copy link
Author

Verified. Problem fixed in phpMyAdmin 5.2+snapshot : Daily snapshot, generated 2022-11-13, from Git commit 482e7c2a2130ca4c7f3b586891d8f55f78182d06.

@williamdes
Copy link
Member

Duplicate of #17527

@williamdes williamdes marked this as a duplicate of #17527 Nov 16, 2022
@williamdes williamdes self-assigned this Nov 16, 2022
@ibennetch
Copy link
Member

Great, thank you for the report and for testing the fix!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature duplicate
Projects
None yet
Development

No branches or pull requests

3 participants