Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHPMyAdmin

Status
Not open for further replies.

TSSTechie

Technical User
May 21, 2003
353
GB
Howdy,

I've got a Windows Server 2003 box running IIS 6. To this I have added PHP 5 and MySql 4. These appear to be running fine. Now I am trying to add PHPMyAdmin into the mix.

With this, however, I have a problem. At first it said something along the lines of mySql.dll wasn't being loaded so it couldn't connect to the database. I found in php.ini the line 'extension=mysql.dll' which I removed the semi-colon from to load this, now I just get a delay of about 5 mins followed by 'This page cannot be displayed'.

Does anyone know what might be causing this ??

Thanks in anticipation

TSSTechie

[lightsaber] May The Force Be With You [trooper] [yoda]
 
TSS-

Sorry: this is not an answer. I am interrupting your thread to ask a question of my own -- did you install PHP via CGI or via ISAPI?

Thanks.

NY
 
Let's sort some basic things out:
PHPMyAdmin is a PHP based MySQL administration tool. It is in no way different than any other PHP script. The message that the page can't be displayed makes me believe that there's somthing wrong with the PHP installation.
Suggestions:
1. write a one-liner, like
Code:
<? phpinfo(); ?>
and see if that works.
2. Download the MySQL control Center from the MySQL web site. There is a Windows based version. That can tell you if you are able to connect to MySQL.
Let's go from there.
 
have you added the appropriate path in the php.ini file to indicate that the extensions folder is the place to look for the required dlls?

Look for the Paths and Directories heading in the page , then fill in the extensions path. Or copy the dll to the c:\windows folder

Bastien

Cat, the other other white meat
 
Howdy,

Sorry it's been ages. I've been really busy plus I had to completely rebuild the server [sad].

I now have it running fine. I was enabling the extension in php.ini with the correct path but it didn't like it. As DRJ478 rightly suggested, PHP was broken due to the error with loading the extension. I found a site that suggested copying php_mysql.dll and libmysql.dll into the system32 directory. This seems to have fixed it.

Thanks for your help

TSSTechie

[lightsaber] May The Force Be With You [trooper] [yoda]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top