Subversion Repositories oidplus

Rev

Rev 1235 | Blame | Compare with Previous | Last modification | View Log | RSS feed


Firebird installation notes
---------------------------

Download and install from
https://firebirdsql.org/en/firebird-4-0/
Make sure that the clientlibrary fbclient.dll is also selected

In PHP.ini:
extension=pdo_firebird
or
extension=php_pdo_firebird.dll

Restart Apache, XAMPP, etc.

If you need to run the Firebird server in application mode, run it as administrator.
(Otherwise error message "Error occurred during login, please check server firebird.log for details")

Open Firebird iSQL Tool:

        CREATE DATABASE 'D:\SVN\OIDplus\trunk\userdata\database\oidplus.fdb' page_size 8192 user 'SYSDBA' password 'masterkey';
        (replace with the directory to OIDplus and replace with the password you have entered in setup)

        EXIT;

OIDplus userdata/baseconfig/config.inc.php

        OIDplus::baseConfig()->setValue('DATABASE_PLUGIN',  'PDO');
        OIDplus::baseConfig()->setValue('PDO_DSN',          'firebird:dbname=d:\\svn\\oidplus\\trunk\\userdata\\database\\oidplus.fdb');
        OIDplus::baseConfig()->setValue('PDO_USERNAME',     'SYSDBA');
        OIDplus::baseConfig()->setValue('PDO_PASSWORD',     'masterkey');
        OIDplus::baseConfig()->setValue('TABLENAME_PREFIX',  '');
        OIDplus::baseConfig()->setValue('FORCE_DBMS_SLANG', 'firebird');

"C:\Program Files\Firebird\Firebird_4_0\isql.exe" -z -i "d:\SVN\OIDplus\trunk\setup\sql\struct_firebird.sql"