![]() |
phpmyadmin is 404 file not found
I hope I have not posted this in the wrong location.
While following your instructions at http://www.howtoforge.com/installing...ntu-10.10-lamp I had a learning curve. Thank you for providing a good set of instructions. I have played with Linux (Ubuntu) for a very short time. I need a server, so decided to build one. I first loaded the latest Ubuntu (10.10) and then searched for instructions. I tried several and ended up reloading Ubuntu a few times (I have since learned how to un-install things). I found your instructions and loaded MySQL (have not checked it yet), Apache2 (It Works!), PHP5 (Vi was another learning experience, but info.php works). Then I tried to install PHPMyAdmin. First, I made a mistake and said yes to using dbconfig-common for setting up the database. That got me into a loop asking for a password. This is where I learned "apt-get --purge remove phpmyadmin" and again started the phpmyadmin install. This last one appeared to work, but there are no files in the www folder other than info.php and index.html. What should I do now? Should I get the phpmyadmin page from my windows machine (and any supporting php include files)? Should I try another install of phpmyadmin? Is there a file folder I can check to see if the files installed? |
Can you post the outputs of
Code:
ls -la /etc/apache2/conf.d/Code:
ls -la /etc/phpmyadmin/ |
The result of ls -la /etc/apache2/conf.d/
is: drwxr-xr-x 2 root root 4096 2011-03-06 21:52 . drwxr-xr-x 7 root root 4096 2011-03-06 16:51 .. -rw-r--r-- 1 root root 269 2010-11-18 16:16 charset lrwxrwxrwx 1 root root 45 2011-03-06 21:52 javascript-common.conf -> /etc/javascript-common/javascript-common.conf -rw-r--r-- 1 root root 3296 2010-11-18 16:16 localized-error-pages -rw-r--r-- 1 root root 143 2010-11-18 16:16 other-vhosts-access-log -rw-r--r-- 1 root root 1481 2010-11-18 16:16 security The output of ls -la /etc/phpmyadmin/ is: drwxr-xr-x 2 root root 4096 2011-03-06 21:52 . drwxr-xr-x 142 root root 12288 2011-03-08 17:45 .. -rw-r--r-- 1 root root 871 2011-02-15 14:04 apache.conf -rw-r----- 1 root www-data 517 2011-03-06 21:52 config-db.php -rw-r--r-- 1 root root 168 2011-02-15 14:04 config.footer.inc.php -rw-r--r-- 1 root root 168 2011-02-15 14:04 config.header.inc.php -rw-r--r-- 1 root root 3918 2011-02-15 14:04 config.inc.php -rw-r----- 1 root www-data 8 2011-03-06 21:52 htpasswd.setup -rw-r--r-- 1 root root 570 2011-02-15 14:04 lighttpd.conf -rw-r--r-- 1 root root 295 2011-02-15 14:04 phpmyadmin.service Hope that provides what you asked for. Bill |
Please try this:
Code:
ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf |
Falko,
Thanks. I know I am getting closer to having things operational. Once I remembered to sudo su, I managed to get to the PHPMyAdmin login. When I tried to login, I received this: #1045 Cannot log in to the MySQL server What do I need to do now? Is there a phpmyadmin config file that I need to edit? Do I need to do something to MySQL? Getting closer one-step-at-a-time. :) |
What's the output of
Code:
netstat -tap |
This is the results:
Code:
Active Internet connections (servers and established) |
Please open /etc/mysql/my.cnf and make MySQL listen on all interfaces (comment out bind-address = 127.0.0.1). Then restart MySQL.
|
I have modified my.cnf to have
# bind-address = 127.0.0.1 I still get the "#1045 Cannot log in to the MySQL server" error when I try to log in to phpmyadmin. Just in case, here is the netstat -tap results: Code:
Active Internet connections (servers and established) |
Do you use the correct MySQL user/password to log in?
|
| All times are GMT +2. The time now is 10:34. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.