Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I type localhost/phpmyadmin, it shows "The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500". Please help! Apache error log is:

[Tue Jun 14 16:35:47.699632 2016] [:error] [pid 14660] [client 192.168.0.101:44854] PHP Fatal error:  require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.:/usr/share/php') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 477

share|improve this question
    
sudo apt-get install php-gettext – malyy Jun 14 at 12:04
    
The problem still exists – chrisjzach Jun 14 at 12:19
    
what is a version of php? sudo apt-get install php-mbstring php-mbstring php-gettext – malyy Jun 14 at 12:59
    
Thanks a lot, its working now. – chrisjzach Jun 14 at 15:55
    
Also inside the phpmyadmin its showing this error: "Connection for controluser as defined in your configuration failed." Is it something I should be worried about? – chrisjzach Jun 14 at 15:57

Connection for controluser as defined in your configuration failed

Cause: mismatch of database user. There are several ways to fix. Execute the following command:

sudo dpkg-reconfigure phpmyadmin

The phpmyadmin package contains the script to perform this operation for you, all it needs is a user with permissions. sudo is not required if you're logged in as root, of course. It might be worth trying to drop the current phpmyadmin user.

or: check in /etc/phpmyadmin/config-db.php

$dbuser='root';
$dbpass='password'; // set current password between quotes ' '
$basepath='';
$dbname='phpmyadmin';
$dbserver='';
$dbport='';
$dbtype='mysql';
share|improve this answer
    
Thank you again for your help. – chrisjzach Jun 15 at 9:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.