#33356 [Opn->Bgs]: Unable to load dinamyc link library php_mysql.dll and everything are right
| From: | tony2001@php.net | Date: | Wed, 15 Jun 2005 18:30:33 +0000 |
| Subject: | #33356 [Opn->Bgs]: Unable to load dinamyc link library php_mysql.dll and everything are right | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80395@lists.php.net to get a copy of this message | ||
ID: 33356
Updated by: tony2001@php.net
Reported By: drcshk at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: windows XP home edition
PHP Version: 5.0.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-06-15 20:25:03] drcshk at yahoo dot com
Description:
------------
PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mysql.dll'
-
The specified procedure could not be found.
Unable to load dinamyc link library php_mysql.dll and everything are
right
In the php.ini's we should remove the line:
;extension=php_mysql.dll
Since mysql is included.
[7 Dec 2004 2:53pm CET] tomas2002 at tiscali dot cz
Well, the solution is to copy the libmysql.dll from php directory to
some path where it can be found, for example winnt/system32 or set the
windows paths to php directory where is this library and everything
should be ok ..
It's all bullshit.
I wasted a week and it still does not work.
i removed all files
put php_mysql.dll into all possible folders- windows etc, sytem32,
system and whatever
put libmysql.dll everywhere.
removed all one by one etc etc.
unquoted extension=php_mysql.dll, showed extension_dir - all possible
ways - quoted, unquoted, slash, backslash, no slash at the end,
low case underline
configured httpd,
put c:\php5 and c:\php\bin into the PATH environmental variables
did this, did that, , reloaded every time
probably 500 different variations.
still f... program can not load php_mysql.dll.
I do not know what is this.
System: windows 32, windows XP home edition , PHP5 and mysql 4.02 -
And by the way when I try log other extensions like php_*.dll
They do not log in as well.
So do not tell me crap, that it is just mysql problem or PHP.ini
problem
All the stuff was supplied on a CD from the book: PHP, MYSQL and Apache
all in one.
Still all that crap does not work.
Don't know what to do.
Will probably try to remove everything and go with lower version of
PHP4 and mysql, if can find good one.
For those who just unquoted and fixed the problem - they were lucky.
Reproduce code:
---------------
extension_dir= c:/php5/ext/ (or whatever - any possible variaton, like
'c:\php5\ext)
extension=php_mysql.dll
Expected result:
----------------
I expect MySQL can be connected by PHP on Apache
php_mysql.DLL should be loaded
Actual result:
--------------
: Unable to load dynamic library 'c:\php5\ext\php_mysql.dll' -
The specified procedure could not be found.
as well
'c:/php5/ext/php_mysql.dll'
and actually
'c:/php5/ext/php_*.dll' -
where * = anything in PHP.ini file - mysqli, mssl etc -
It happens when I restart appache
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33356&edit=1