PDA

View Full Version : [ubuntu] Phpmyadmin problem



svance1947
November 11th, 2010, 12:29 AM
Installed LAMP server on 10.4
Installed phpmyadmin.

When I call /localhost/phpmyadmin, I get the login page.
I enter root and the password entered during install.

At that point, I get a pop-up window saying I'm trying to open index.php and asking what I should do with the file.

I've removed everything and started over, to no avail.

Any suggestions?

jbruced
November 11th, 2010, 12:37 AM
When you type

127.0.0.1

in the address bar, does it say "It works!"?

This is the test to make sure apache is running correctly.

svance1947
November 11th, 2010, 01:14 AM
>When you type 127.0.0.1
>in the address bar, does it say "It works!"?

Yes... Apache2 is working fine.

Hmmm... can't find php.ini
The install didn't create one under /php5/apache2/

lmarmisa
November 11th, 2010, 01:40 AM
Try to create a file named info.php in the /var/www folder with this content:



<?php
phpinfo();
?>


Then type this URL in your browser: http://localhost/info.php

jbruced
November 11th, 2010, 01:42 AM
I used these instructions 3 times, no problems.



http://tuxtweaks.com/2010/04/installing-lamp-on-ubuntu-10-04-lucid-lynx/

lisati
November 11th, 2010, 01:46 AM
Installed LAMP server on 10.4
Installed phpmyadmin.

When I call /localhost/phpmyadmin, I get the login page.
I enter root and the password entered during install.

At that point, I get a pop-up window saying I'm trying to open index.php and asking what I should do with the file.

I've removed everything and started over, to no avail.

Any suggestions?

Try clearing your browser cache. There are one or two other things you might want to check here: https://help.ubuntu.com/community/ApacheMySQLPHP#Troubleshooting%20PHP%205

svance1947
November 11th, 2010, 01:59 AM
lmarmisa

Not recognizing info.php
Asking what to do with file

I installed the LAMP server from within synaptic.

thanks

lmarmisa
November 11th, 2010, 02:05 AM
You had some problem installing php.

Try to reinstall the LAMP server using the package "tasksel".

Install tasksel with synaptic and then type this command



sudo tasksel



https://help.ubuntu.com/community/Tasksel

svance1947
November 12th, 2010, 01:40 AM
The solution had nothing to do with phpmyadmin. It was a firefox problem. Once I cleared the firefox cache and cleaned up cookies, etc... everything worked fine.

It seems that firefox was not getting the file definition that it needed to properly recognize the file. Mozilla's support site has the details.