note 47543 deleted from ref.mysql by nlopess

From: Date: Fri, 19 Nov 2004 20:22:01 +0000
Subject: note 47543 deleted from ref.mysql by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-80782@lists.php.net to get a copy of this message
Note Submitter: mikeheffelfinger at yahoo dot com ---- To get mysql support with php v. 5.0.2 zip distribution with Apache 2, I had to do the following. This will stop the "Unable to Load Dynamic library 'C:\PHP\ext\php_mysql.dll - The specified module could not be found" error when starting Apache. Assuming php installed in c:\php. 1. copy libmysql.dll to c:\WINTNT\system32 2. in c:\WINNT\php.ini, set extension_dir = "c:\php\ext" 3. In the same php.ini file, uncomment extension=php_mysql.dll Note: Even though libmysql.dll was originally in c:\php and c:\php was in my PATH, mysql support didn't work until I copied the .dll into c:\WINNT\system32. Go figure. ---- Reason: bad code

« previous php.notes (#80782) next »