Ubuntu – Phptheadmin error HTTP 500 after fresh install

lampphpmyadmin

enter image description hereIn Ubuntu 16.10 freshly installed LAMP server and installed PHPMYADMIN
when i open localhost/phpmyadmin I'm getting HTTP 500 error
PHP version 5.6
MySQL Version 14.14 Dist rib 5.7.16
Apache 2 version 2.4.18
and i have tried almost all the solutions that i got online none worked

Even if I install all of the other packages except this one and try to install phpmyadmin, it returns a 500 server error.

Thank you

Best Answer

You should check your /etc/phpmyadmin/apache.conf.

Locate

php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/ in apache.conf.

Now change the /usr/share/php/php-php-gettext/ to /usr/share/php/php-gettext/

Related Question