|
|
![]() |
|
|
Top | #1 |
|
Overclocked Like A Mother
Joined: July 2002
Location: In front of my computer
Posts: 2,729
Reputation: 684
Power: 150 |
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 |
|
|
|
|
|
Top | #2 |
|
I never said I was nice
Joined: April 2003
Location: In The Void
Posts: 6,346
Blog Entries: 8
Reputation: 1877
Power: 0 |
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
|
|
|
|
|
|
Top | #3 |
|
Overclocked Like A Mother
Joined: July 2002
Location: In front of my computer
Posts: 2,729
Reputation: 684
Power: 150 |
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Repair Install does not work anymore after SP2 update...??? | LPDad | Windows Desktop Systems | 4 | September 10th, 2004 3:30pm |
| [Gentoo] Mysql does not work | DreamweaverN | Linux & BSD | 9 | June 6th, 2004 12:14am |
| mySQL install help | CHiLLaXen | Web Design & Coding | 8 | January 16th, 2004 10:22pm |
| PHP and Mysql | luish | Web Design & Coding | 7 | August 24th, 2003 7:27pm |
| cant work broadband after install | forcer | Windows Desktop Systems | 5 | March 5th, 2003 5:59pm |