note 64696 added to ref.mysql

From: Date: Wed, 19 Apr 2006 19:33:31 +0000
Subject: note 64696 added to ref.mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-108678@lists.php.net to get a copy of this message
After configuring php.ini as outlined above (set the extension_dir variable and uncomment the appropriate mysql library) I kept receiving the following error on every Apache restart: PHP Startup: Unable to load dynamic library './ext\\php_mysql.dll' After trawling the web, most suggestions seemed to center on copying the libmysql.dll from the php install directory to c:\windows\system32. While this can work, it can also complicate future upgrades, since you'll always have to copy the new libmysql.dll to insure proper operation. Instead, if you run a search for "libmysql.dll", you'll likely find several versions in various directories. After removing the older (smaller) versions from the other directories in my PATH, (c:\windows, c:\windows\system32) - and making sure the php install directory was in the PATH, apache/php was able to successfully locate the correct DLL and start without errors. Hopefully someone will find this helpful. ;) ---- Server IP: 64.71.164.2 Probable Submitter: 71.196.174.101 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.mysql.php Edit -- http://master.php.net/note/edit/64696 Del: integrated -- http://master.php.net/note/delete/64696/integrated Del: useless -- http://master.php.net/note/delete/64696/useless Del: bad code -- http://master.php.net/note/delete/64696/bad+code Del: spam -- http://master.php.net/note/delete/64696/spam Del: non-english -- http://master.php.net/note/delete/64696/non-english Del: in docs -- http://master.php.net/note/delete/64696/in+docs Del: other reasons-- http://master.php.net/note/delete/64696 Reject -- http://master.php.net/note/reject/64696 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#108678) next »