Page 1 of 1

mysql API in Php

Posted: Sat Jul 24, 2004 9:33 am
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.

Posted: Sat Jul 24, 2004 10:28 am
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.

Posted: Sat Jul 24, 2004 11:01 am
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.. :?