compiling php with MySQL max 4.0.1 under windows
| From: | Rense Klinkenberg | Date: | Wed, 06 Mar 2002 02:36:28 +0000 |
| Subject: | compiling php with MySQL max 4.0.1 under windows | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6273@lists.php.net to get a copy of this message | ||
Hi,
After I had succesfully compiled a snapshot from php, I noticed that
accessing MySQL gave some errors. After looking at my phpinfo() I noticed
that it said: "Client API version 3.23.39". I however are using MySQL
4.0.1-alpha, because of all the new features.
I figured out that php obviously is using it's own source files to compile
libmysql, instead of the ones of my own mysql version. In linux I could give
the an extra paramter to ./configure like '--with-mysql=/path/to/mysql', but
I'm using MSVC++ to compile my php and I have no idea how to set those
options with that compiler.
Does anyone have any idea how I can compile my php to make it compatible
with MySQL 4.0.1?
</Rense>