The Firebird tab enables you to modify configuration settings specific to Firebird databases.
The Firebird tab
|
The |
You can download a preconfigured package for Firebird Server and Firebird Embedded support in the Add-On Packages topic.
The fields in http.ini specific to
the Firebird section are shown below:
[Firebird]
; Firebird Engine settings
Start=1
DemonPath=
BaseDir=
DestinationDir=##TEMP##\dwebpro\firebird_data
DataDir=##DWEBPRO_PATH##\engine\firebird_embedded\data
; Network settings
Port=3050
FindFreePort=0
; Startup / Shutdown settings
RunLocally=0
UseEmbedded=1
ShutDownTimeout=5000
ShowShutDownTimeOutMessage=0
ShutDownOnExit=0
; File Copy settings
DestinationDataDir=##TEMP##\dwebpro\firebird_data
DatabaseVersion=1
DeleteOldDatabases=1
ShowCopyProgressWindow=1
Overwrite=1
AskUserForOverwrite=0
AskUserForOverwriteDefaultButton=Yes
ClearOnShutDown=0
AskUserForClearOnShutDown=0
AskUserForClearOnShutDownDefaultButton=Yes
; Interactive Install settings
UseInteractiveInstall=0
SpaceNeeded=1048576
Firebird Engine settings
Start Firebird
Start
Start
Firebird specifies whether Firebird is started upon start up
of DWebPro
Accepted values: 0, 1
Daemon Path
DaemonPath
Daemon
Path specifies the path pointing to the Firebird daemon,
normally
fbserver.exe, that will be
opened by DWebPro. Refer to the DWebPro Internal Constants topic
for additional information.Accepted values: string
Base Directory
BaseDir
Base
Directory specifies the base path to the directory where the
Firebird engine resides. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Destination Directory
DestinationDir
Destination
Directory specifies the path of the directory to which the
Firebird files will be copied. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Data Directory
DataDir
Data
Directory specifies the path to the directory where the
Firebird database files reside. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Network settings
Port
Port
Port
specifies the port on which Firebird listens.
Accepted values: integer
Find Free Port
FindFreePort
Find Free
Port specifies whether DWebPro should search for free ports
on which to start Firebird. Refer to the DWebPro Internal Constants topic
for additional information.
Accepted values: 0, 1
|
If you need to use Firebird with PHP in ISAPI mode, you have to insert the following code before trying to connect to the database:
putenv ('FIREBIRD_TMP=' . dwebpro_getvar ('FIREBIRD_TMP'));
|
Startup / Shutdown settings
Run Locally
RunLocally
When you use Firebird from CD/DVD,
DWebPro automatically copies some files to the user's file system
to enable Firebird to work correctly. Select the Run Locally option to avoid this copy process.
Note that you may safely select the Run
Locally option only when you run DWebPro from a hard drive
or other writable media. It can be useful to select the
Run Locally option during the
development phase.
Accepted values: 0, 1
Use Firebird Embedded
UseEmbedded
Use Firebird
Embedded specifies whether Firebird is used in embedded mode
(that is, without having a running process).
Accepted values: 0, 1
Shutdown Timeout
ShutDownTimeout
Shutdown
Timeout specifies the timeout, in milliseconds, before
Firebird is forced to close.
Accepted values: integer
Show Shutdown Timeout Message
ShowShutDownTimeOutMessage
Show Shutdown
Timeout Message specifies whether DWebPro prompts the user
prior to closing Firebird.
Accepted values: 0, 1
Shutdown on Exit
ShutDownOnExit
Shutdown on
Exit specifies whether Firebird is closed on DWebPro
shutdown.
Accepted values: 0, 1
File Copy settings
Destination Data Directory
DestinationDataDir
Destination
Data Directory specifies the path of the directory to which
the Firebird database files will be copied. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Database Version
DatabaseVersion
Database
Version specifies the version of the Firebird database. If
you want to distribute your application with different versions of
the database or distribute an updated version of the database
within the same application, you can use this field to specify
which version of the database you are distributing and let DWebPro
automatically start the database server with the correct
database.
Accepted values: integer
Delete Old Databases
DeleteOldDatabases
Delete Old
Databases specifies whether DWebPro has to delete an
existing Firebird database before copying a new one.
Accepted values: 0, 1
Show Copy Progress Window
ShowCopyProgressWindow
Show Copy
Progress Window specifies whether the progress window
displays during file copy routines.
Accepted values: 0, 1
Overwrite Data
Overwrite
Overwrite
Data specifies whether the databases copied to the user's
hard drive are overwritten.
Accepted values: 0, 1
Ask User for Overwrite
AskUserForOverwrite
Ask User for
Overwrite specifies whether DWebPro prompts the user to
confirm the copy of the files if the destination directory already
exists.
Accepted values: 0, 1
Default Button
AskUserForOverwriteDefaultButton
Default
Button specifies the default button on the confirmation form
for files copy.
Accepted values: Yes, No
Clear on Shutdown
ClearOnShutDown
Clear on
Shutdown specifies whether DWebPro deletes the files copied
to the user's file system prior to closing.
Accepted values: 0, 1
Ask User for Clear on Shutdown
AskUserForClearOnShutDown
Ask User
Clear on Shutdown specifies whether DWebPro prompts the user
to confirm the deletions of the files in the destination directory
prior to closing.
Accepted values: 0, 1
Default Button
AskUserForOverwriteDefaultButton
Default
Button specifies the default button on the confirmation form
for files deletion.
Accepted values: Yes, No
Interactive Install settings
Use Interactive Install
UseInteractiveInstall
Use
Interactive Install specifies whether DWebPro uses the
Interactive Installation procedure. Refer to the Interactive Install Workflow
topic for more information.
Accepted values: 0, 1
Space Needed
SpaceNeeded
Space
Needed specifies the needed space for the copy. Use the
drop-down box to the right of this field to specify the units of
space desired. This option is relevant only when using the
Use Interactive Install option.
Refer to the Interactive Install Workflow
topic for more information.
Accepted values: integer


