2

I was asked to rephrase this posting as it was mistakenly confused with another question. So here is the rewrite:

I upgraded my server to 17.10. I had to run a2enmod to fix the php7.1 problem as mentioned elsewhere, and then everything worked fine - which I knew because the website was written in PHP and it worked as before. The only thing that was broken was phpmyadmin. When I ran it, all I got is a bunch of text. I tried purging it from the system and then reinstalling it, but no no avail.

phs
  • 31
  • How do you determinate that PHP works fine? Through CLI or thorough WEB? – pa4080 Nov 22 '17 at 21:18
  • 1
  • Sorry that I was not clear on the status of PHP. This is a production server running a web site made in PHP. The web site works fine, as does running phpinfo(). I have not tested it with the CLI. – phs Nov 24 '17 at 08:42
  • Latest news: I set up a new test LAMP server, installed phpmyadmin via apt-get and it worked. Therefore I have narrowed the problem down to a misconfiguration somewhere. So my new question is now: can anyone suggest where or what the config problem might be? Which files should I be looking at? The server in question is a simple LAMP server with no other modules installed. It has worked flawlessly for the past five years through all of the upgrades. – phs Nov 24 '17 at 10:29
  • Hello, @phs, please read this answer: https://askubuntu.com/a/969440/566421 ... additionally you could [edit] your question with this new information and we can vote to reopen it. – pa4080 Nov 24 '17 at 10:44
  • 1
    Hi again. I found the simple solution elsewhere. All I had to do was delete my browser cache. Afterwards phpmyadmin worked fine. Hope this helps others... – phs Nov 24 '17 at 12:44
  • 1
    Don't refer to the comments in your question but enter all necessary information in the question itself. Therefore [edit] the question, remove any irrelevant info and add in the relevant one. In this case, you can also answer your own question to get more rep. :-) – Fabby Nov 24 '17 at 12:48

1 Answers1

1

Deleting the cached files in your web browser will fix the problem.

phs
  • 31
  • 1
    Please elaborate a bit - deleting the cache will not fix every problem. Yo could start with "I fixed it by...." and maybe continue with "I found the solution ....". – guntbert Nov 25 '17 at 18:22