Oracle 5.0 Reference Manual page 2258

Table of Contents

Advertisement

PHP Version
5.3.x
5.4.x
20.7.2.1.2.2. Installation on Windows Systems
Copyright 1997-2012 the PHP Documentation Group. [2230]
20.7.2.1.2.2.1. PHP 4
Copyright 1997-2012 the PHP Documentation Group. [2230]
The PHP MySQL extension is compiled into PHP.
20.7.2.1.2.2.2. PHP 5.0.x, 5.1.x, 5.2.x
Copyright 1997-2012 the PHP Documentation Group. [2230]
MySQL is no longer enabled by default, so the
php.ini. Also, PHP needs access to the MySQL client library. A file named
included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to
be available to the Windows systems PATH. See the FAQ titled
the
on
PATH
Windows system directory also works (because the system directory is by default in the system's
PATH), it's not recommended.
As with enabling any PHP extension (such as php_mysql.dll), the PHP directive
should be set to the directory where the PHP extensions are located. See also the
Installation
Instructions. An example extension_dir value for PHP 5 is
20.7.2.1.2.2.3. PHP 5.3.0+
Copyright 1997-2012 the PHP Documentation Group. [2230]
The
MySQL Native Driver
longer required or used.
20.7.2.1.2.3. MySQL Installation Notes
Copyright 1997-2012 the PHP Documentation Group. [2230]
Original MySQL API (Mysql)
Default
libmysqlclient
mysqlnd
Windows" for information on how to do this. Although copying
Note
If when starting the web server an error similar to the following occurs:
to load dynamic library
php_mysql.dll
is enabled by default. Include php_mysql.dll, but
Warning
Crashes and startup problems of PHP may be encountered when loading this
extension in conjunction with the recode extension. See the
for more information.
Configure
Options:
mysqlnd
--with-
mysql=mysqlnd
--with-mysql
php_mysql.dll
'./php_mysql.dll'", this is because
and/or
libmysql.dll
2238
Configure
Changelog
Options:
libmysqlclient
by default, and
the MySQL client
libraries are
longer bundled
mysqlnd is now
--with-
available
mysql=[DIR]
mysqlnd is now the
--with-
default
mysql=[DIR]
DLL must be enabled inside of
libmysql.dll
"How do I add my PHP directory to
libmysql.dll
Manual Windows
c:\php\ext
cannot be found by the system.
libmysql.dll
recode
no
is
to the
extension_dir
"Unable
is no
extension

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents