Hi:
Running php5-win32-200401081130. Uncommented several extensions in
php.ini. Adjusted my extension_dir. All of the extensions loaded just
fine, except php_mysql.dll. The file is in the appropriate place and has
the appropriate permissions. Even tried giving everyone full control over
the file. Nope.
Does this have to do with the licensing? Or is something wrong?
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
Seeing any error messages that you get would help to diagnose the
problem :)
--Wez.
Running php5-win32-200401081130. Uncommented several extensions in
php.ini. Adjusted my extension_dir. All of the extensions loaded just
fine, except php_mysql.dll. The file is in the appropriate place and has
the appropriate permissions. Even tried giving everyone full control
over
the file. Nope.Does this have to do with the licensing? Or is something wrong?
Don't you nowadays need to have external mysql dlls with PHP 5?
--Jani
Seeing any error messages that you get would help to diagnose the
problem :)--Wez.
Running php5-win32-200401081130. Uncommented several extensions in
php.ini. Adjusted my extension_dir. All of the extensions loaded just
fine, except php_mysql.dll. The file is in the appropriate place and has
the appropriate permissions. Even tried giving everyone full control
over
the file. Nope.Does this have to do with the licensing? Or is something wrong?
Hi Wez:
Seeing any error messages that you get would help to diagnose the
problem :)
Pardon me. Given the context, I thought it would be apparent that it was
the windows message box:
PHP Warning: PHP Startup: Unable to load dynamic library
'c:\progra~1\php\ext\php_mysql.dll' - The specified procedure could
not be found.
in Unknown on line 0
That's when hitting a web page. Interestingly, if I run from the command
line, an extra error message box pops up before that saying:
The procedure entry point mysql_drop_db could not be located in the
dynamic link library LIBMYSQL.dll
Behavior is the same on the command line in both CLI and CGI.
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
Hi Dan,
there is something borked. mysql_drop_db() is deprecated and on the
doc page there is a note :
[snip]
Warning
This function will not be available if the MySQL extension was built against a MySQL 4.x
client library.
[/snip]
There is something borked with the libs that you use?
Andrey
Daniel Convissor wrote:
Hi Wez:
Seeing any error messages that you get would help to diagnose the
problem :)Pardon me. Given the context, I thought it would be apparent that it was
the windows message box:
PHP Warning: PHP Startup: Unable to load dynamic library
'c:\progra~1\php\ext\php_mysql.dll' - The specified procedure could
not be found.
in Unknown on line 0That's when hitting a web page. Interestingly, if I run from the command
line, an extra error message box pops up before that saying:
The procedure entry point mysql_drop_db could not be located in the
dynamic link library LIBMYSQL.dllBehavior is the same on the command line in both CLI and CGI.
Thanks,
--Dan
Edin,
looks like the libmysql.dll in the php-win32-dev/template/dlls
folder is out of date (it doesn't have mysql_drop_db here either).
--Wez.
The procedure entry point mysql_drop_db could not be located in the
dynamic link library LIBMYSQL.dll
Or the header files are wrong..that func is available
with MYSQL_VERSION_ID < 40000. Something wrong with the build
system perhaps? :)
--Jani
Edin,
looks like the libmysql.dll in the php-win32-dev/template/dlls
folder is out of date (it doesn't have mysql_drop_db here either).--Wez.
The procedure entry point mysql_drop_db could not be located in the
dynamic link library LIBMYSQL.dll
Hi!
Daniel Convissor wrote:
Hi:
Running php5-win32-200401081130. Uncommented several extensions in
php.ini. Adjusted my extension_dir. All of the extensions loaded just
fine, except php_mysql.dll. The file is in the appropriate place and has
the appropriate permissions. Even tried giving everyone full control over
the file. Nope.
To enable mySQL-Support i had to set up the extension_dir in php.ini, to
add "extension=php_mysql.dll" and to copy libmysql.dll (228KB) to my
Windows-Directory.
With the current Snapshot (8 Jan 2004 20:19:59 +010) i did the same, but
Apache gave
"PHP Startup: Unable to load dynamic library 'php_mysql.dll' [..]"
The Problem seems to be caused by the bunbled limysql.dll (196KB):
After replacing this file in my Window-Directory with the old one Apache
starts without an Error.
webwurst