can't get new php/mysql install to work.

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Hey all,

I am trying to figure out how to fix my php/mysql install.

Here is the scoop:

I transferred my Windows 2003 Server web setup onto new hardware. It is a fresh clean bare metal install of, consisting of all updated apps, like Apache 2.2.8, PHP5.2.5, and MySQL 5.0.51a

Now I got APache and PHP and Mysql installed and restored my sql databases. Everything is working except for PHP is not connecting to MySQL

I checked my windows path to make sure my C:\PHP is there.

I think that Imight be needing some fresh mysql dll extensions for php. I am reusing the mysql 4.0 dll's that I had from previous install. I also noticd that the php.ini is slightly diffferent from previous as well. All the commented out extensions are gone.

How do I get PHP to communicate with Mysql?

Thanks,


Heeter
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
first off you cant use mysql dlls from 4.0 on 5.0.51a, you have to use the dlls that come with the version of mysql you are using, copy libmysql.dll (think thats it) from the bin folder and either put it in c:\php or c:\windows, i also tend to put php.ini in there as well
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Thanks, I upgraded the mysql.dll

I downloaded all pecl folders and extracted them into the /ext folder.

I copied the lib...dll file into several C:/Windows folders, system32, system, Windows folders.

I have rebooted the dam server several times.

Still getting same error: http://www.hcctech.ca/phpmyadmin


Heeter
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,413
Members
5,591
Latest member
nodee