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
 
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
 
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 profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
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.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back