Help me access my PHPmyadmin please.. :3

Hello everyone… Can anyone of you help me access my phpmyadmin, because I can’t access it through this link: http://localhost/phpmyadmin why is that?..
I can access localhost just that, but the phpmyadmin login page NO!.. it just gets me to download it’s html file on the login page of phpmyadmin…

can anyone help me?..

because I can’t do work without this … :3 I’m not used to the mysql console…

What happens if you go to:-
http://localhost/phpmyadmin/index.php
?

still the same… I get to download the file itself… and I don’t know if I should have this kind of error
when doing: sudo apt-get install phpmyadmin …
I get this:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

should I get this or not?..
and why is that I don’t get directed to the phpmyadmin?.. :3

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), [b]is another process using it?[/b]

Close Synaptic or any other package mangers and/or Update Manager … and try again, you can only use one of these at a time, as they lock the directory.

phpmyadmin …

Can you access other PHP sites ?

what are the contents of your php.conf file ?

[EDIT]

Indeed, do you have php5 installed ? … how did you install php5 ?

I can’t access the info.php site…

how to access that php.conf file?.. just installed it using Synaptic

hmp… :3

OK, if you are trying to install the LAMP stack (and phpmyadmin) locally (which I figure you are if you’re using localhost) … and this is a new installation, my advice would be to uninstall the components you’ve already installed, then use tasksel to install the whole LAMP stack.

See here:
https://help.ubuntu.com/community/ApacheMySQLPHP


[EDIT]

Oh, and my apologies … I meant php.ini (not php.conf) … /etc/php5/apache2/php.ini

You might want to take a look at the “Troubleshooting PHP 5” section at the above link … or click this link:
https://help.ubuntu.com/community/ApacheMySQLPHP#Troubleshooting_PHP_5

sudo apt-get remove --purge libapache2-mod-php5
sudo apt-get install libapache2-mod-php5
sudo a2enmod php5
sudo service apache2 restart

I’m removing them just as what you told me, what if I get this :

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

again if I do the sudo apt-get install tasksel?..
is there any alternative?..

You shouldn’t get those errors (when installing from the command line) if Synaptic, the Ubuntu Software Centre, and Update manger are all closed.

Synaptic
Ubuntu Software Centre
gdebi
aptitude
apt-get
dpkg (obviously)
(and any other debian package management software)

all use dpkg to install applications … so you can only use one of these at a time.

For instance … if Synaptic is open, it will temporarily (until it’s closed) lock the /var/lib/dpkg directory by creating a lock file … which will stop any of the others being able to use dpkg.