From:             drcshk at yahoo dot com
Operating system: windows XP home edition
PHP version:      5.0.3
PHP Bug Type:     MySQL related
Bug description:  Unable to load dinamyc link library php_mysql.dll and 
everything are right

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 bug report at http://bugs.php.net/?id=33356&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33356&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33356&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33356&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33356&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33356&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33356&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33356&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33356&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33356&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33356&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33356&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33356&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33356&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33356&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33356&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33356&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33356&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33356&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33356&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33356&r=mysqlcfg

Reply via email to