RE: [PHP-DB] PHP5 not loading mysql.dll and mysqli.dll

2004-08-18 Thread 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 3:47 AM
To: [EMAIL PROTECTED]
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



Re: [PHP-DB] PHP5 not loading mysql.dll and mysqli.dll

2004-08-18 Thread Rory McKinley
John Holmes wrote:
[EMAIL PROTECTED] 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


Re: [PHP-DB] PHP5 not loading mysql.dll and mysqli.dll

2004-08-17 Thread John Holmes
[EMAIL PROTECTED] 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