[Ilugc] (no subject)

  • From: prem@xxxxxxxxxxxxxxxx (Prem Kurian Philip)
  • Date: Sat Sep 29 13:57:53 2007

I'm still hoping that i don't have to rely on accessing some db or a flat
file >.
Is 'nt there a simple way to read/write/store custom env variables :
(a) without flat files , without sql , perhaps editing some magic lin
on apache's conf or php's ini (b) and that are persistent across
process's without depending on being called at startup

[2] so if not env variables , how do you usually manage your app
specific meta data/ configuration that can be accessable via the
shell/ php across process's ?

Please see libelektra and Gconf.

http://www.libelektra.org/Bindings

This problem is a bit thorny in your case because you have a web
application and a standard application/library needing to access the same
configuration parameters.

The problem is that neither Elektra nor Gconf have PHP bindings.
But there is apparently a python binding available for Elekra and Gconf.

Regards,
PK


Other related posts: