Skip navigation.

Install phpMyAdmin on Debian Lenny

,

1. apt-get install phpmyadmin (make sure you have php and mysql installed)

2. change apache2 configuration according to /etc/phpmyadmin/apache.conf

3. /etc/init.d/apache2 restart

4. http://localhost/phpmyadmin

Install phpbb2 on Debian LennyLinux virtualization

Comments

Anonymous 2. February 2009, 13:26

Bart writes:

As for step 2, I'd suggest the following:

cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin
cd /etc/apache2/sites-enabled/
ln -s ../sites-available/phpmyadmin 010-phpmyadmin

Explanation:
- Copy the configuration to the directory of available sites
- Add a link to the configuration so it's actually enabled

Anonymous 8. February 2009, 11:19

Anonymous writes:

Even shorter

cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin
a2ensite phpmyadmin

Anonymous 16. April 2009, 06:18

Anonymous writes:

Anonymous said:
-----------------------------------------------
cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin
a2ensite phpmyadmin
-----------------------------------------------

thank you anon, that worked perfectly

Anonymous 11. May 2009, 19:28

Anonymous writes:

echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf

Anonymous 28. July 2009, 05:51

Anonymous writes:

Thank you! The simple things in life that make you happy.... There is nothing like a successful install after breakfast.

ernestto 8. September 2009, 13:28

I installed phpmyadmin but url http://localhost/phpmyadmin is wrong.
Folder /var/www is empty. How can I do?

posicionamiento en buscadores

Anonymous 12. October 2009, 03:49

oned writes:

try create link
ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin

Anonymous 3. December 2009, 17:40

desi writes:

echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf

works perfectly :D
Thanks !!

www.desiimg.com
for image hosting needs

Anonymous 3. December 2009, 19:01

desi writes:

ok..its easy
in /etc/apache2/apache2.conf

add Include /etc/phpmyadmin/apache.conf
to last..

http://desiimg.com

Anonymous 9. December 2009, 12:48

desi writes:

Hi ! how to install in centos ?
desiimg

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies