Report this

What is the reason for this report?

php my admin url issue

Posted on April 18, 2020

i just now installed phpmyadmin using the tutorial provided by digital ocean to a folder /var/www/html/nothingtoseehere/index.php when i go to this url eg http://myip/nothingtoseehere/ the login page opens up but as soon as i enter the credentials the page redirects to root of the url eg http://myip/index.php which doesnt exist there therefore says 404 i am fed up of this issue i searched a lot and didnt found a solution btw i am on ubutu 16.04.6 LTS



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @ankitayus2008,

Can you please show us your Nginx configuration file as well as the output of the following file /etc/phpmyadmin/conf.d/pma_secure.php

It seems like your Nginx configuration file contains some redirection rules which kick when you access http://myip/index.php. Having said that, I can’t pinpoint the issue unless I know what has been written in the config file.

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.