• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to change phpmyadmin folders name?

Newbie Spellweaver
Joined
Jan 9, 2012
Messages
73
Reaction score
0
:/:Hey guys, I want to know if it's possible to change the phpmyadmin directory's name.

It's located in /usr/share/phpmyadmin .

It's not in /var/www.

I already tried to rename the folder, but it didn't work and even the phpmyadmin didn't work, so I have to use the phpmyadmin, but the thing is that people can easily get through the phpmyadmin page by simply typing on the browser: IP/phpmyadmin

Is there a way to rename it or to block it somehow? Thanks in advance.
 
Last edited:
RaGEZONER
Loyal Member
Joined
Sep 29, 2009
Messages
1,567
Reaction score
322
ln -s /usr/share/phpmyadmin [ space ] /var/www/pma[or name you like] >
example for symbolic link:
ln -s /usr/share/phpmyadmin /var/www/pma
 
Upvote 0
Newbie Spellweaver
Joined
Jan 9, 2012
Messages
73
Reaction score
0
Does this command just moves the folder to /var/www? If I move the phpmyadmin folder into /var/www , it will be easier for hackers to get through the folder even if I rename the folders name, won't it?
 
Upvote 0
Newbie Spellweaver
Joined
Jan 9, 2012
Messages
73
Reaction score
0
Well, I did it! I denied all the IPs except from mine and I also changed the name of the folder! No one can get through the phpmyadmin now! Muahahahhaha. Thanks guys
 
Upvote 0
Back
Top