On Thu, 31 Jul 2003 10:07:59 +1200, "Spidah" <no****@eggstra.co.nz>
wrote:
Looking at the list of changes made in PHP5 one of them is
"Removed the bundled MySQL client library"
Previously PHP came with the client portions of MySQL included in the
distribution. This is no longer the case (apparently because of
licensing issues).
Does anyone know exactly what this means? I assume we will still be able to
code for MySQL as we do now?
Yes.
Just because a MySQL client isn't included, this does not mean that
MySQL support has been dropped - not at all, the MySQL PHP extension
is there as before, and an improved version based on MySQL 4.1 is in
development (the mysqli extension).
All it means is you have to have an existing MySQL client installed
(if your MySQL database is on the same machine then you've already got
it, if not then it's no great hardship to install it), and you specify
--with-mysql when compiling PHP, or possibly pass it the path to the
client libraries if it's in a non-standard location.
The situation in the Windows precompiled .zip version for PHP5beta1
appears confused at the moment, as they've included the MySQL client
libraries, but not included the MySQL PHP extension. I can't see any
reason why this can't be worked out before PHP5 comes out of beta.
Looking in the latest php5 .zip package from snaps.php.net, that does
now appear to include the php_mysql.dll PHP extension. (And also,
still, the MySQL client library).
[ What's the betting that this'll be the new FAQ to replace
register_globals ;-p ]
--
Andy Hassall (an**@andyh.co.uk) icq(5747695) (
http://www.andyh.co.uk)
Space: disk usage analysis tool (
http://www.andyhsoftware.co.uk/space)