PHP has built-in support for many databases (also ODBC)
Adabas D
--with-adabas=dir
Added support for the Adabas D database when compiling. This parameter is the installation directory for Adabas D, and the default is/USR/LOCAL/ADABASD.
DBase
--with-dbase
Support for activating the built-in dBASE database is not required for external libraries.
Filepro
Activates the built-in read-only Filepro support and does not require an external library.
MSQL
--with-msql=dir
In order to activate mSQL support, the parameter of this option is the installation directory of mSQL, and the default is/usr/local/hughes. This is the default directory for mSQL 2.0 installation. The Configure can automatically detect the mSQL version installed on the system, PHP3 supports 1.0 and 2.0 two versions. If you compile the PHP3 and mSQL1.0 versions, you can only access the database in 1.0 and replace the scheduling algorithm.
Mysql
--with-mysql=dir
In order to activate MySQL support, the option parameter is the MySQL installation directory, the default is/usr/local/. This is the default directory for MySQL installation.
iODBC
--with-iodbc=dir
Includes support for IODBC. This feature was first developed for the iODBC driver Manager, and iODBC is a free re-released ODBC driver manager that works in many of the UNIX systems. This parameter is the IODBC installed directory, which is/usr/local by default.
OpenLink ODBC
--with-openlink=dir
Includes OpenLink ODBC support. The parameter for this option is the OpenLink ODBC installation directory, which is/usr/local/openlink by default.
Oracle
--with-oracle=dir
Includes Oracle support. After testing, at least Oracle7.0 and 7.3 can work properly. This parameter is the Oracle_home directory, and you do not have to specify this parameter if your Oracle environment has been prepared.
PostgreSQL
--with-pgsql=dir
Includes support for PostgreSQL. This parameter is the base directory for PostgreSQL when it is installed, and the default is/usr/local/pgsql.
Other common databases are supported in much the same way as they are listed above, and refer to the instructions for using the database of your choice when needed.
http://www.bkjia.com/PHPjc/531933.html www.bkjia.com true http://www.bkjia.com/PHPjc/531933.html techarticle PHP has built-in support for many databases (as well as ODBC) Adabas D--with-adabas=dir is compiled with support for Adabas D databases. This parameter is the installation directory of Adabas D, the default ...