Initiation
phpmyadmin is not working. Every things are working fine like http://localhost, http://localhost/info.php but while accessing http://localhost/phpmyadmin it is giving HTTP ERROR 500 The localhost page isn’t working.
Error: Check the error.log (/var/log/apache2/error.log ) and fix the issue like below
# Type 1:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_curl.dll' - /usr/lib/php/20131226/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0 Same for php_soap.dll php_pdo_mysql.dll php_mysql.dll php_gd2.dll etc.
Solution: Please check the setup with setup blog. If you are using different version of php then update the php configuration with the help of “Step 2: Install PHP and add PPA” from setup blog like below
Switch php5.6 to php 7.0: # For php in web apps sudo a2dismod php5.6 && sudo a2enmod php7.0 && sudo service apache2 restart # For php-cli in the command line sudo ln -sfn /usr/bin/php7.0 /etc/alternatives/php Switch php7.0 to php5.6: # For php in web apps sudo a2dismod php7.0 && sudo a2enmod php5.6 && sudo service apache2 restart # For php-cli in the command line sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/php
#Type 2:
Failed opening required ‘/usr/share/php/php-gettext/gettext.inc
Solution: Run the below command and restart server.
#update gettext via symbolic linking cd /usr/share/php mv php-gettext php-gettext.orig ln -s php-php-gettext php-gettext #Restart server sudo service apache2 restart
Note: You can visit complete information in debian bug details.