Blogia
MAURICIO DURAN TORRES

Como Instalar Firebird/Interbase+ PHP Bajo Windows (material Ingles)

 

 

HowTo: Install Firebird/Interbase with PHP on Windows. A step-by-step tutorial.

This simple tutorial assumes you already have a working PHP installation. There's plenty of guides on how to set up PHP, here I'm only showing how to make it interact with Firebird.

Requirements

Install Firebird SQL

  • Download the zip archive: Firebird SQL 1.5.3
  • Extract the archive to C:firebird (for instance)
  • Open a command prompt window (START, Run, "cmd")
  • Run these commands, one by one:
    C:firebirdbininstreg i
    C:firebirdbininstsvc i -s -a
    C:firebirdbininstsvc start

Configure PHP

  • Copy C:firebirdbinfbclient.dll to your C:windowssystem32 directory and rename the file to gds32.dll
  • Copy php_interbase.dll from your phpext directory to the C:windowssystem32 directory.
  • Copy libeay32.dll and ssleay32.dll from your php directory to the C:windowssystem32 directory.
  • Edit your php.ini, un-comment the line
    extension=php_interbase.dll
    (you have to remove the semicolon from that line).
  • Restart your webserver (Apache).

Install some Firebird SQL Tools

You can manage your databases with some tools: NB: the default admin username:password pair for Firebird is SYSDBA:masterkey.

0 comentarios