SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 29th, 2004, 07:52 AM
valgevali valgevali is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Estonia
Posts: 10 valgevali User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

Hi everyone,

In short: it seems that php_mysql.dll (php 5) does not work with new versions (4.x and 5.x) of libmysql.dll

At least Visual Studio DLL dependency walker shows that in '5.0.0b4 win32 zip binary' the php_mysql.dll extension supports mysql_create_db() and mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine.
But these 2 functions are dropped in versions 4.x and 5.x of libmySQL.dll. So trying to use newer mysql client libraries with php5 (as suggested) results an error.

I already made a request for php.net to include both php_mysql3.dll and php_mysql45.dll in the package. But it's sure easy to self-recompile the php_mysql.dll without these 2 functions. I'm not much of a compiler-man myself. Has anybody done that already?

Please share the php_mysql.dll (4.x and 5.x) with everybody!!!

thanks in advance
Valgeväli

--

Additional information:

Default manual install and conf of PHP5 and MySQL5 on W2K, IIS. Everything worked fine.
As I needed MySQL new features (multiple recordsets), I followed the suggestions of both php.net and mysql.com and replaced my client library libmysql.dll in /system32 with mysql.com provided one (version 5).
After restarting web server, get the following error at first php-file request:
PHP Startup: Unable to load dynamic library 'c:phpextphp_mysql.dll' - The specified procedure could not be found.' I also tried 4.0 and 4.1 - the same bucket.


Reply With Quote
  #2  
Old March 18th, 2004, 04:17 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

i copied libmysql.dll into /windows directory. It works

Reply With Quote
  #3  
Old March 24th, 2004, 09:47 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
It works!!!!!!!!!!

It works very good for my proble.... thanx!

Reply With Quote
  #4  
Old April 15th, 2004, 06:31 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

DUDE! YOU RULE< THAT TOTALLY WORKED!!!!!

Reply With Quote
  #5  
Old May 20th, 2004, 11:16 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

I had the same problem.

And you solved it!!

Thanks a lot!!

Reply With Quote
  #6  
Old June 1st, 2004, 05:59 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

This works thanks man you rule.

Reply With Quote
  #7  
Old July 1st, 2004, 07:49 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

If copying to /windows doesen't work try copying to /windows/system and windows/system32.

Worked for me

Reply With Quote
  #8  
Old July 7th, 2004, 06:58 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

I too have to say:
YOU ROCK! works here as well! :-)

*happy*

Reply With Quote
  #9  
Old July 8th, 2004, 03:15 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

Well done. This also solved my problem. (just thought I'd add tot he long line of thankful coders)

Reply With Quote
  #10  
Old July 30th, 2004, 02:09 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

Am I missing something? Where is the php_mysql4.dll? I need it, I have the exact same problem.

Reply With Quote
  #11  
Old July 30th, 2004, 02:16 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll


Quote:
Am I missing something? Where is the php_mysql4.dll? I need it, I have the exact same problem.


nm, I googled around. I had to use the libMySQL included with PHP (I didn't see it) instead of the one included with MySQL...

Reply With Quote
  #12  
Old August 1st, 2004, 01:12 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

Wholly COW !!!!! I can't Believe I actually have found someone on the net that knows something about PHP This fix worked..... THank you Thank You Thank You


Reply With Quote
  #13  
Old August 22nd, 2004, 05:35 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

Unable to load dynamic library 'c:phpextphp_mysql.dll' - The specified procedure could not be found also get this error

Reply With Quote
  #14  
Old August 28th, 2004, 02:08 AM
exequor exequor is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 190 exequor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 51 sec
Reputation Power: 2
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

i don't know if i am having the same problem as everyone else but i definitely have some problem with mysql and php 5. i get this error when run apahe:

The procedure entry point mysql_drop_db could not be located in the dll libmysql.dll

then i get:

PHP Startup: Unable to load dynamic library 'c:phpextphp_mysql.dll' - The specified procedure could not be found.


i copied the libmysql.dll file to windows, windows/system32 and windows/system and i still can't get it to work. i was wondering which libmysql.dll i had to copy, if it was the one from the debug folder or the one from the opt folder?

Reply With Quote
  #15  
Old August 28th, 2004, 02:34 AM
exequor exequor is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 190 exequor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 51 sec
Reputation Power: 2
RE: PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll

i uncommented ;extension=php_mysql.dll in php.ini and i didn't get those error when apache was run but i still get mysql errors like when i try to run phpmyadmin (which is properly configured):

Fatal error: Call to undefined function mysql_get_client_info() in c:program filesapache groupApachehtdocsphpmyadminlibrariesdefines.lib.ph p on line 47


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP 5 php_mysql.dll problem width mysql 4.x & 5.0 libmysql.dll


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |