• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux When i tried to install Phpmyadmin i didnt selected Lighttpd, what should i do?

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,112
Reaction score
221
Location
Germany
GitHub
eubrunomiguel
(First question is your mysql root password, leave the second black to make a random PMA password, and in the list remember to select "lighttpd").

I only down with keyboard and press enter, so when i try to enter in phpmyadmin apeear
404 - Not Found
... how can i fix that?

I tried to remove phpmyadmin and install again, but didnt ask to choose between lighttpd or apache2, so, continue without lighttpd selected, and phpmyadmin 404 - Not Found



Edit:

Solved: Ok I used:
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
and it fixed the 404 error but caused problem 2 below.


Problem 2:
but now I get a "403 - Forbidden" message instead of 404 :S

and i tried:

Solved: This is the fix for the 403 error. Thanks to Slain (Works):

Originally Posted by Slain
type this in command prompt..

gksudo nautilus
then click file system then var folder, right click on www folder..click properties, click permissions, change it all to read + write, the second one should be your username..then click on the do this for all files in it too. done.

if that dont work type cd /var
then type chmod 777 -R www


But dont work, keep the error 403 :(
 
Last edited:
you were supposed to add an alias to lighttpd conf, not create symbolic link

Code:
alias.url = ( "/phpmyadmin/" => "/usr/share/phpmyadmin/")

if it still throws 403, check permissions of /usr/share/phpmyadmin (maybe lighttpd user has no permission to access this dir?)
 
you need read and execute permissions (write is optional) on the folder, or index.php is missing, or there's no PHP handler in configuration

also set correct owner for the www folder, typically user www-data
Code:
chown -R www-data:www-data /var/www

if you installed phpmyadmin via apt-get, it's in /usr/share/phpmyadmin as mentioned above
 
Back
Top