Subject Re: [firebird-support] multiple embedded versions
Author Issam Boughanmi

@Dmitry, @Ralf
> i have managed to use the firebird embedded on the shared hosting by setting
> the FIREBIRD_LOCK variable
> Why? This is not necessary.
this is necessary because the default firebird lock folder is "program data / firebird" wich is restricted for 
writing on shared hosting


> another option is to use a single fbembed.dll library for all the 
> website but i don't know if it's possible .
> It should be possible.

i am not sure but each website correspond to a single process, and i have read somewhere that the fbembed library 
can be used by only one process at a time


@Karol Bieniaszewski
> Why this is system variable at all?
> Why this is not a in firebird.conf
i cannot find the option in the config file for setting the lock directory , only temp one

Le ven. 1 mars 2019 à 13:53, Ralf Jansen ralf.jansen@... [firebird-support] <firebird-support@yahoogroups.com> a écrit :
 

I’m using multiple firebird embedded versions from within the same process without fiddling around in environment variables like FIREBIRD_LOCK or conf files of the different firebird versions.

 

There should be no need in doing anything special. Just use the version(s) you like.

 

Ralf

 

 

Von: firebird-support@yahoogroups.com <firebird-support@yahoogroups.com>
Gesendet: Donnerstag, 28. Februar 2019 21:17
An: firebird-support@yahoogroups.com
Betreff: [firebird-support] multiple embedded versions

 

 

hi,

let's say that i have differents applications on different folders .

 

each folder contain a firebird database and an embedded firebird dll .

 

is it safe to use this setup knowing that all the embedded libraries will use the same firebird lock directory .

 

the reason for this and not using a regular firebird server is that i am on a web shared hosting environement ,

i have several websites on the same server and each website have it's own database and fbembed.dll library .

 

i have managed to use the firebird embedded on the shared hosting by setting

the FIREBIRD_LOCK variable , but i dont know if it safe to use this setup that way .

 

 

another option is to use a single fbembed.dll library for all the website but i don't know if it's possible .

in any case there is a firebird database .gdb for each single website / process .

 

 

any idea is welcome , thanks .