Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[Solved]phpmyadmin doesn't show the login screen

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
wenyongming
n00b
n00b
Posts: 4
Joined: Sun Sep 22, 2013 1:01 pm
Location: wuhan, hubei province, China

[Solved]phpmyadmin doesn't show the login screen

  • Quote

Post by wenyongming » Sun Sep 22, 2013 1:08 pm

I just installed mariadb and then the apache and phpmyadmin, after typed the http://localhost/phpmyadmin/ in firefox I didn't get the login screen but some files like ChangLog, browse_foreigners.php ,etc. I found it is the files in /var/www/localhost/htdocs/phpmyadmin/, and if I typed the http://localhost/phpmyadmin/index.php, it showed that "You don't have permission to access /phpmyadmin/index.php on this server."I use the default configurations and I can use mariadb in shell. Any suggestions?
Last edited by wenyongming on Tue Sep 24, 2013 11:13 am, edited 1 time in total.
Top
quilosaq
Veteran
Veteran
Posts: 1596
Joined: Tue Dec 22, 2009 5:07 pm

  • Quote

Post by quilosaq » Sun Sep 22, 2013 2:43 pm

Try that:

Code: Select all

(root)# USE="apache2" emerge -v --oneshot php
Top
wenyongming
n00b
n00b
Posts: 4
Joined: Sun Sep 22, 2013 1:01 pm
Location: wuhan, hubei province, China

  • Quote

Post by wenyongming » Mon Sep 23, 2013 8:18 am

quilosaq wrote:Try that:

Code: Select all

(root)# USE="apache2" emerge -v --oneshot php
I had enabled the apache2 use.
Top
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

  • Quote

Post by toralf » Mon Sep 23, 2013 9:59 am

/me assumes, you've te unstable apache alreday installed ? Then look for the .htaccess file of phpmyadmin, it isn't recognized by the newer apache version. The apache2 log should point in addition to that file.
Top
wenyongming
n00b
n00b
Posts: 4
Joined: Sun Sep 22, 2013 1:01 pm
Location: wuhan, hubei province, China

add the setup use

  • Quote

Post by wenyongming » Mon Sep 23, 2013 12:13 pm

after add the use 'setup' to phpmyadmin, it works.thanks for your replies.
Top
666threesixes666
Veteran
Veteran
User avatar
Posts: 1248
Joined: Tue May 31, 2011 9:46 pm
Location: 42.68n 85.41w
Contact:
Contact 666threesixes666
Website

  • Quote

Post by 666threesixes666 » Mon Sep 23, 2013 2:28 pm

just a heads up, this program needs to be protected by an IDS, or else you can brute force passwords. id make note of how to disable the login page once configured for now.
http://www.funtoo.org/
Top
wenyongming
n00b
n00b
Posts: 4
Joined: Sun Sep 22, 2013 1:01 pm
Location: wuhan, hubei province, China

  • Quote

Post by wenyongming » Tue Sep 24, 2013 12:40 am

666threesixes666 wrote:just a heads up, this program needs to be protected by an IDS, or else you can brute force passwords. id make note of how to disable the login page once configured for now.
what kind of IDS? I've never used such things before. And it warns me to delete the configuration file, what should I do?
Top
666threesixes666
Veteran
Veteran
User avatar
Posts: 1248
Joined: Tue May 31, 2011 9:46 pm
Location: 42.68n 85.41w
Contact:
Contact 666threesixes666
Website

  • Quote

Post by 666threesixes666 » Tue Sep 24, 2013 2:29 am

something that monitors logs, and stops people from repeatedly giving bad passwords. fail2ban is my best guess, but i don't know how to set fail2ban up.

personally id just do manipulations to databases and turn phpmyadmin off when not using it. if i need to turn it back on ssh into machine and re link.

my move is

Code: Select all

#move phpmyadmin out of web root, to symlink instead.
sudo mv /var/www/localhost/htdocs/phpmyadmin/ /var/www/localhost/phpmyadmin
#turned on
sudo ln -s /var/www/localhost/phpmyadmin/ /var/www/localhost/htdocs/phpmyadmin
#turned off
sudo rm -rf /var/www/localhost/htdocs/phpmyadmin/
http://www.funtoo.org/
Top
Post Reply

8 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic