Support » Localhost Installs » Trouble with phpmyadmin

  • Resolved maryreyes

    (@maryreyes)


    I installed a LAMP server (Debian 10, Apache 2.4.38, MariaDB 10.3.29, php8.0) and phpmyadmin in preparation for installing WordPress. I’ve run into difficulty with the phpmyadmin installation (for reference, I’m following the instructions at linuxbabe.com/debian/install-phpmyadmin-apache-lamp-debian-10-buster/). I’ve gotten as far as configuring the server and creating the config.inc.php file, and that’s where the installation fails with an HTTP error 500. The error log tells me nothing meaningful to me:

    [mpm_prefork:notice] [pid 24682] AH00171: Graceful restart requested, doing restart
    [mpm_prefork:notice] [pid 24682] AH00163: Apache/2.4.38 (Debian) configured -- resuming normal operations
    [core:notice] [pid 24682] AH00094: Command Line:  'usr/sbn/apache2'

    Any ideas? I have g00gled until I’m blue in the face and tried numerous recommendations, to no avail.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter maryreyes

    (@maryreyes)

    I should also mention that this is a localhost testbed sincd I don’t (yet) have access to the domain I will be using. Because of this, I did not open any ports, I created the /etc/apache2/sites-available/phpmyadmin.conf file but did not enable it, and I installed the certbot files, but I did not run certbot to obtain the TLS certificate. Is there something I’m misunderstanding with respect to the difference between a localhost and a domain-based setup?

    Thread Starter maryreyes

    (@maryreyes)

    Enabled the /etc/apache2/sites-available/phpmyadmin.conf file and found/fixed a couple of typos, but still have the HTTP error 500. I’ve combed through every link I could find in multiple searches, but the only case that was remotely related was “solved” by uninstalling and reinstalling phpmyadmin. I was hoping not to have to go that route.

    Thread Starter maryreyes

    (@maryreyes)

    Problem solved. Turns out that the instructions I was following downloaded but didn’t actually install phpmyadmin because phpmyadmin is not in the repository for Debian 10. Instead, it must be installed from the buster-backports repository. Details at pragmaticlinux.com/2020/12/install-phpmyadmin-on-debian-10-buster/

    I beat my head against this issue for two weeks before I finally found the answer, but now I have phpmyadmin set up and I’m happily installing WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.