Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

udp high ports, d-link extract firmware dsl-2750u, wwwwxxxxx.2G, yxxxcom, WWWXXX, ftp://192.168.100.100, wwwxxx 100, www.xxxcon, wwwxxx, oom killer misbehaves postgresql

Links

XODOX
Impressum

#1: PHP5 not loading mysql.dll and mysqli.dll

Posted on 2004-08-18 00:17:19 by AceZero2790

I've been trying to install mysql. I installed that new PHP5 that just came out with the zip file. I configured in php.ini where the .dll files are: c:/php/ext/. Then I uncommented php_mysql.dll and php_mysqli.dll.

When I restarted apache 1.3.31, my server, it said that it could not find those files in c:/php/ext/.

EX) PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll' - the specified module could not be found.

Though the file is right there. So then I did research and found that those files needed libmysql.dll and libmysqli.dll to load. However, those files are already sitting nice and cozy in c:/php, and I copied them to c:/php/ext just in case.

What's the problem?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#2: Re: PHP5 not loading mysql.dll and mysqli.dll

Posted on 2004-08-18 03:44:31 by John Holmes

AceZero2790@aol.com wrote:
> I've been trying to install mysql. I installed
> that new PHP5 that just came out with the zip file.
> I configured in php.ini where the .dll files are:
> c:/php/ext/. Then I uncommented php_mysql.dll and
> php_mysqli.dll.
>
> When I restarted apache 1.3.31, my server, it said
> that it could not find those files in c:/php/ext/.
>
> Though the file is right there. So then I did research
> and found that those files needed libmysql.dll and
> libmysqli.dll to load. However, those files are already
> sitting nice and cozy in c:/php, and I copied them to
> c:/php/ext just in case.

Just ran through this _exact_ issue myself. Put the libmysql.dll files
in the windows/system32/ directory. That fixed everything for me.

--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#3: RE: PHP5 not loading mysql.dll and mysqli.dll

Posted on 2004-08-18 06:56:07 by balwantsingh

may be you have not uncommented
extension_dir="c:/php/ext/"
(Directory in which the loadable extensions (modules) reside)

please check.

balwant

-----Original Message-----
From: AceZero2790@aol.com [mailto:AceZero2790@aol.com]
Sent: Wednesday, August 18, 2004 3:47 AM
To: php-db@lists.php.net
Subject: [PHP-DB] PHP5 not loading mysql.dll and mysqli.dll


I've been trying to install mysql. I installed that new PHP5 that just came
out with the zip file. I configured in php.ini where the .dll files are:
c:/php/ext/. Then I uncommented php_mysql.dll and php_mysqli.dll.

When I restarted apache 1.3.31, my server, it said that it could not find
those files in c:/php/ext/.

EX) PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll' -
the specified module could not be found.

Though the file is right there. So then I did research and found that those
files needed libmysql.dll and libmysqli.dll to load. However, those files
are already sitting nice and cozy in c:/php, and I copied them to c:/php/ext
just in case.

What's the problem?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message

#4: Re: PHP5 not loading mysql.dll and mysqli.dll

Posted on 2004-08-18 13:46:18 by Rory McKinley

John Holmes wrote:
> AceZero2790@aol.com wrote:
>
>> I've been trying to install mysql. I installed that new PHP5 that just
>> came out with the zip file. I configured in php.ini where the .dll
>> files are: c:/php/ext/. Then I uncommented php_mysql.dll and
>> php_mysqli.dll.
>>
>> When I restarted apache 1.3.31, my server, it said that it could not
>> find those files in c:/php/ext/.
>> Though the file is right there. So then I did research and found that
>> those files needed libmysql.dll and libmysqli.dll to load. However,
>> those files are already sitting nice and cozy in c:/php, and I copied
>> them to c:/php/ext just in case.
>
>
> Just ran through this _exact_ issue myself. Put the libmysql.dll files
> in the windows/system32/ directory. That fixed everything for me.
>
If you have had a previous version of PHP, make sure that you copy the
libmysql.dll that came with the PHP5 zip and overwrite the existing file
.. I am too embarassed to admit how long it took me to figure this out :)

--
Rory McKinley
Nebula Solutions
+27 21 555 3227 - office
+27 21 551 0676 - fax
+27 82 857 2391 - mobile
www.nebula.co.za
====================

This e-mail is intended only for the person to whom it is addressed and
may contain confidential information which may be legally privileged.
Nebula Solutions accepts no liability for any loss, expense or damage
arising from this e-mail and/or any attachments.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message