note 86750 added to mysql.installation
| From: | admin at kobashicomputing dot com | Date: | Sun, 02 Nov 2008 07:02:23 +0000 |
| Subject: | note 86750 added to mysql.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146030@lists.php.net to get a copy of this message | ||
Unfortunately this one bit me for a good half day.
Placing libmysql.dll in the php/ext directory did not work. I tested this under 5.6.2. You need to
have it somewhere in the PATH or in SYSTEM or SYSTEM32. But to me this is very silly to force the
user to have to setup environment variables or move DLLs around. It shouldn't have to go that
far and be the responsibility of the setup program and/or developer.
I really think this issue could be solved doing this:
1) Installer/distribution bundle all three files together under one directory (ext) -
php_mysql.dll/php_mysqli.dll/libmysql.dll
2) Developer goes into php_mysql.dll/php_mysqli.dll and in DllMain() on DLL_PROCESS_ATTACH:
LoadLibrary ("./libmysql.dll");
Then you don't have to deal with this problem and neither do your users.
Kerry Kobashi
----
Server IP: 209.41.74.194
Probable Submitter: 67.180.47.121
----
Manual Page -- http://www.php.net/manual/en/mysql.installation.php
Edit -- https://master.php.net/note/edit/86750
Del: integrated -- https://master.php.net/note/delete/86750/integrated
Del: useless -- https://master.php.net/note/delete/86750/useless
Del: bad code -- https://master.php.net/note/delete/86750/bad+code
Del: spam -- https://master.php.net/note/delete/86750/spam
Del: non-english -- https://master.php.net/note/delete/86750/non-english
Del: in docs -- https://master.php.net/note/delete/86750/in+docs
Del: other reasons-- https://master.php.net/note/delete/86750
Reject -- https://master.php.net/note/reject/86750
Search -- https://master.php.net/manage/user-notes.php