Entry
What should I do to make my php to work with MySQL ?
May 18th, 2000 06:29
Andrei Zmievski, Henrik Hansen, Antony Lee, PHP manual
Compile PHP with:
--with-mysql=DIR
Which enables MySQL support. The parameter to this option is the MySQL
install directory and defaults to /usr/local. This is the default
installation directory of the MySQL distribution.
Bofore doing this you should have a working mysql server installed on
your system.
PHP 4 comes bundled with MySQL client library and it is enabled by
default, thus obviating the need for --with-mysql, unless you have a
newer version installed somewhere else.