HOW TO define database type?

Discuss everything related to PHP Easy Installer. All versions. Any questions related to the PHP Easy Installer developing or using should be posted to this forum.

Moderator: alexandrleonenko

administrator
Site Admin
Site Admin
Posts: 6010
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO define database type?

Postby administrator » Jul 16th, '11, 10:33

ApPHP EasyInstaller works with PDO extension and support a lot of database types.

To define appropriate database type, open install/settings.inc.php and define EI_DATABASE_TYPE constant according to your needs.
Example:

Code: Select all

define("EI_DATABASE_TYPE", "mysql");


Possible values for EI_DATABASE_TYPE:

Code: Select all

    mysql          - MySql,
    pgsql          - PostgreSQL
    sqlite/sqlite2 - SQLite
    oci            - Oracle
    cubrid         - Cubrid
    firebird       - Firebird/Interbase 6
    dblib          - FreeTDS / Microsoft SQL Server / Sybase
    ibm            - IBM DB2
    informix       - IBM Informix Dynamic Server
    odbc           - ODBC v3 (IBM DB2, unixODBC and win32 ODBC)

Return to “ApPHP Easy Installer {developers/users}”