Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#819521: phpmyadmin: dependency problems with php-gettext and php-mysql

19 views
Skip to first unread message

Chip Rosenthal

unread,
Mar 29, 2016, 8:50:03 PM3/29/16
to
Package: phpmyadmin
Version: 4:4.5.5.1-2
Severity: important

Dear Maintainer,

I encountered two problems installing phpmyadmin on a new system.

After install, web application gave error 500, with logged message:

[Tue Mar 29 19:23:26.595905 2016] [:error] [pid 16189] [client ::1:33050] PHP Fatal error: require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 477

==> Fixed by: sudo apt-get install php-gettext

After that fix, web application ran but displayed error screen:

phpMyAdmin - Error
The mysqli|mysql extension is missing. Please check your PHP configuration. See our documentation for more information.

==> Fixed by: sudo apt-get purge php7.0-mysql ; sudo apt-get install php5-mysql

Now my phpmyadmin installation is working.





*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages phpmyadmin depends on:
ii dbconfig-common 2.0.4
ii dbconfig-mysql 2.0.4
ii debconf [debconf-2.0] 1.5.59
ii libapache2-mod-php5 5.6.19+dfsg-2
ii libjs-sphinxdoc 1.3.6-2
ii perl 5.22.1-9
ii php-gettext 1.0.11-2
ii php-phpseclib 2.0.1-2
ii php5 5.6.19+dfsg-2
ii php5-cli 5.6.19+dfsg-2
ii php5-common 5.6.19+dfsg-2
ii php5-json 1.3.7-1
ii php5-mysql 5.6.19+dfsg-2
ii php7.0-cli 7.0.4-6
ii php7.0-common [php-gettext] 7.0.4-6
ii php7.0-json 7.0.4-6
ii php7.0-xml 7.0.4-6
ii ucf 3.0036

Versions of packages phpmyadmin recommends:
ii apache2 [httpd] 2.4.18-1
ii mysql-client-5.6 [virtual-mysql-client] 5.6.28-1
ii php-tcpdf 6.2.12+dfsg2-1
ii php5-common 5.6.19+dfsg-2
ii php5-gd 5.6.19+dfsg-2
ii php7.0-common 7.0.4-6
ii php7.0-gd 7.0.4-6

Versions of packages phpmyadmin suggests:
ii firefox-esr [www-browser] 45.0.1esr-1
ii google-chrome-beta [www-browser] 50.0.2661.49-1
ii konqueror [www-browser] 4:15.08.3-1
ii mysql-server 5.6.28-1
ii mysql-server-5.6 [virtual-mysql-server] 5.6.28-1

-- debconf information:
phpmyadmin/setup-username: admin
phpmyadmin/remote/host: localhost
phpmyadmin/install-error: abort
phpmyadmin/upgrade-error: abort
phpmyadmin/database-type: mysql
* phpmyadmin/dbconfig-install: true
phpmyadmin/purge: false
phpmyadmin/db/dbname: phpmyadmin
phpmyadmin/internal/skip-preseed: false
phpmyadmin/mysql/method: Unix socket
phpmyadmin/remove-error: abort
phpmyadmin/dbconfig-reinstall: false
phpmyadmin/remote/port:
* phpmyadmin/reconfigure-webserver: apache2
* phpmyadmin/mysql/admin-user: debian-sys-maint
phpmyadmin/passwords-do-not-match:
phpmyadmin/internal/reconfiguring: false
phpmyadmin/db/app-user: phpmyadmin
phpmyadmin/remote/newhost:
phpmyadmin/missing-db-package-error: abort
phpmyadmin/dbconfig-upgrade: true
phpmyadmin/dbconfig-remove: true
phpmyadmin/upgrade-backup: true
0 new messages