Re: PHP 5, Windows, and MySQL
| From: | David Robley | Date: | Wed, 28 Jun 2006 03:18:50 +0000 |
| Subject: | Re: PHP 5, Windows, and MySQL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238761@lists.php.net to get a copy of this message | ||
Chris wrote:
> Beauford wrote:
>> I have done everything that everyone has suggested here, and 1000 other
>> variations that I have found along the way. So if I'm doing something
>> wrong - please let me know, 'cause I don't see it.
>>
>> MySQL 4.1 has been working great for 4 years and PHP4.4 gives me no
>> problems. Anything 5 and above won't work. Windows is 2000 SP4. PHP is
>> installed as an ISAPI module.
>>
>> ;cgi.force_redirect = 1
>>
>> libmysql.dll is in /winnt, /system, /sytem32, /php and php is in my path.
>> If it can't find it it ain't looking hard enough. I've also tried many
>> variations of this.
>>
>> The error below is similar to what I got. I was also getting memory
>> errors, but don't have that one to post.
>>
>> Results:
>> Warning: PHP Startup: Unable to load dynamic library
>> 'c:/php/ext/php_mysql.dll' - The specified procedure could not be found.
>> in Unknown on line 0
>
> It's not that the file can't be found, it's something inside the file
> breaking. Otherwise it would just say "unable to find php_mysql.dll".
>
> I'd say it's finding the mysql4 version of the dll and trying to include
> it which ain't going to work if you want to talk to a mysql5 server.
>
> http://bugs.php.net/bug.php?id=24621
>
There is a nice tool called dependencywalker which can help you resolve
problems with loading dlls
http://www.dependencywalker.com
Cheers
--
David Robley
It's okay to be ugly...but aren't you overdoing it?
Today is Prickle-Prickle, the 33rd day of Confusion in the YOLD 3172.