martes, 19 de marzo de 2013

solucion appserv phpmyadmin no funciona en windows vista

1) instalar el appserv (en mi caso appserv-win32-2.6.0)
2) ir a la carpeta C:\AppServ\www\phpMyAdmin
3) editar el fichero config.inc.php

y cambiar la linea donde pone

$cfg['Servers'][$i]['host']          = 'localhost';
por
$cfg['Servers'][$i]['host']          = '127.0.0.1';

4) reiniciar el apache

y listo !! ;)


---------------------------------------
sacado de aquí
---------------------------------------

Recently I published an article about Windows Vista Home Premium and the “problems” I was running into when installing my programs. Well, this time I run into another problem when I installed appserv-win32-2.6.0 . Everything seemed to work just fine, Apache was working well, but when I tried opening PhpMyAdmin for some reason it was displaying a blank page after I entered my login information.

Method #1

The solution to this blank page problem is fairly easy. Simply modify this line in the phpmyadmin/config.inc.php
$cfg['Servers'][$i]['host']          = 'localhost';
to this:
$cfg['Servers'][$i]['host']          = '127.0.0.1';
In the above code, you’re changing your name server to 127.0.0.1 in order to use TCP/IP connection. After this, you should be able to see your PhpMyAdmin page by opening in your browser the address http://127.0.0.1/PhpMyAdmin
Hope this helps!
Note: Whenever you specify “localhost” or “localhost:port” as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use “127.0.0.1″ instead of “localhost”. If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as Runtime Configuration in your PHP configuration and leave the server field blank.

UPDATE Dec 15, 2010:

Doing further research on this subject, this problem seems to be caused by a PHP bug #45150. The problem seems to be with Windows resolving localhost, more specifically localhost resolving to ::1 when IPv6 is enabled. If you have Windows Vista or Windows 7 it’s most likely you have IPV6 enabled by default.

Method #2

1. Go to Network Connections-> Properties and on local area connection->uncheck IPV6.
2.Open up \%windir%\system32\drivers\etc\ with a text editor and comment out this line:
::1 localhost
and prefix it:
#::1 localhost
This fix will help the loopback interface 127.0.0.1 point to localhost.
Save it and your PHP/MySQL connections will immediately begin working.
This is another way of fixing this problem. Both methods will work, but I’d recommend to follow this last method over the first one since it’s updated and it solves the localhost issue in a more efficient way now that we have detected the source of the problem.
Big thanks: to my readers Joberror, Adrian, Brandon and everyone else for your contributions.





2 comentarios:

Anónimo dijo...


Sweethearts of NBA direct seeding grabs eat ice-cream red completely beautiful manufacturer: Send a year freely
Doesn't male friend take to you? Manufacturer sends a year freely
3 pedestrian brought up a favourite by sb in power of network of a pair of United States to magic NBA convention contest last week, they went up not only countrywide direct seeding, be to obtain more on video website of ten click, still went up even honored guest of NBA TV explanation, before the tactics that NBA player overcomes Lisiweibai analyses a program. The genesis of the story is to let a person be between tears and smiles more: When seeing a ball, male friend does not let cummer eat the ice-cream on the hand.
Call Mo Lan maly, call Aneite femaly, two people go together [url=http://www.palmexpo.in/nikeairmax.aspx]cheap air maxes[/url] pedestrian team advocate watched that game, be photographed to resemble mixing by biting TV living broadcast guide sow took the picture with one interesting act. Aneite ate the ice-cream on him hand, want to dig the ice-cream ball on a bit Mo Lan hand with small spoon, male friendly hand is fast however and firm ground shook small spoon. Aneite saw Mo Lan malcontently, continue to be attacked to ice-cream, still can be rejected. This the special double eye glare inside A is gotten rounded, magnify the mouth complains to male friend, see an opening model seem to saying: Dare you still say NO? Right now Mo Lancai disarm surrenders, hand over ice-cream to hold the post of cummer to enjoy.
On this paragraph of picture direct seeding, on Molanma by the monicker of person of cream of netizen Guan Yibing. Wei Bai also not only tactics is drawn to analyse a scheme on match picture with digital pen, take drama of this paragraph of scene to make an analysis however: The attention sees the girl's eye, see you when feminine strabismus, cast aside a corners of the mouth at the same time, you have a trouble!
Hookup of this matchFoxTV station immediately invites two leading role to arrive on news program pay a return visit, mo Lan although expression is a bit awkward, but he is without regret meaning: Alas, I do not like others to grab my thing to eat. She eats her, want to grab me, I think at that time, do not have the door.
Soon ice-cream person is red, the manufacturer of the ice-cream of principal stage property in gut is made rapidlySale, those who announce to be offerred freely for Aneite one year is ice-cream, aneite says: I but unlike Mo Lan is so persnickety, I can share so much ice-cream together with everybody. However, more and the husband that Mo Lan feeling is the same as experience, male friend people leave a message however, think again much ice-cream also will surely not let two people be grabbed no longer from now on feed, because my wife is same also, putting again much snacks trashy also, the thing that she loves to grab me namely takes! How do this look unlike is to complaining, more resembling is in beautiful sweetness.

Anónimo dijo...

Good day! This is my first comment here so I just wanted
to give a quick shout out and tell you I really enjoy reading
your posts. Can you recommend any other blogs/websites/forums that go over
the same subjects? Thank you!

Feel free to visit my web page: cedarfinc