Home >Backend Development >PHP Tutorial >Database Support Options_PHP Tutorial

Database Support Options_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:26:43833browse

PHP has built-in support for many databases (also ODBC)

Adabas D
--with-adabas=DIR
Add support for Adabas D database when compiling. This parameter is the installation directory of Adabas D. The default is /usr/local/adabasd.
 
DBase
--with-dbase
Activate the built-in Dbase database support, no external library is required.

FilePro
Activates built-in read-only filePro support, no external library required.

mSQL
--with-msql=DIR
In order to activate mSQL support, the parameter of this option is the mSQL installation directory, and the default is /usr/local/Hughes. This is the default directory for mSQL 2.0 installations. Configure can automatically detect the mSQL version installed on the system. PHP3 supports both versions 1.0 and 2.0. If you compile PHP3 and mSQL1.0, you can only access the database and replacement scheduling algorithm in 1.0.

MySQL
--with-mysql=DIR
In order to activate MySQL support, the parameter of this option is the MySQL installation directory, and the default is /usr/local/. This is the default directory for MySQL installations.

iODBC
--with-iodbc=DIR
Includes iODBC support. This feature was originally designed and developed for iODBC Driver Manager, a free redistribution of the ODBC Driver Manager that works under many UNIX systems. This parameter is the directory where iODBC is installed. The default is /usr/local.

OpenLink ODBC
--with-openlink=DIR
Includes OpenLink ODBC support. The parameter of this option is the installation directory of OpenLink ODBC. The default is /usr/local/openlink.
 
Oracle
--with-oracle=DIR
Includes Oracle support. After testing, it can work normally under at least Oracle7.0 and 7.3. This parameter is the ORACLE_HOME directory. If your Oracle environment has been configured, you do not need to specify this parameter.



PostgreSQL
--with-pgsql=DIR
Includes support for PostgreSQL. This parameter is the base directory for PostgreSQL installation. The default is /usr/local/pgsql.
The support for other common databases is roughly the same as listed above. If necessary, please refer to the usage instructions of the database you selected.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531933.htmlTechArticlePHP has built-in support for many databases (also ODBC) Adabas D --with-adabas=DIR when compiling Added support for Adabas D database. This parameter is the installation directory of Adabas D. The default...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn