mysql API in Php

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
jorgeqa
Forum Newbie
Posts: 1
Joined: Sat Jul 24, 2004 9:33 am

mysql API in Php

Post by jorgeqa »

Hi,

I'm new to php and I notice that the mysql API version used is 3.23.49
I have mysql 4.0.18 installed in my machine.

I wish to know if it is possible to change de mysql API to make it work with
my version of MySQL.

If yes, do I have to compile de php with the new API or just change the
libmysql.dll file???

I'm using php-4.3.8 for windows

Thanks.
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

Yes it is possible, and yes you will have to compile PHP or alternatively find a precompiled binary of the mysql.dll file.

You should not have any problems using the currently distributed mysql.dll when accessing v4.0.x MySQL databases via PHP.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That's very odd, 4.0.18 worked perfectly out of the box on my system when I installed 4.3.6 a few months back.. :?
Post Reply