Page 1 of 1

PHP + CISCO NETWORK REGISTRAR (Berkeley DB)

Posted: Mon May 14, 2007 11:58 am
by oscquin
Hello, I'm trying to develop a web gui for cisco network registrar, wich is an ip-dhcp manager. It uses berkeleydb embedded database and has a command line interface, that can receive instructions via batch files. what I need is:
a) a way to send instructions to that command line and read the responses from it. I have tried exec() function but doesn't work
or b) a way to connect to the berkeleydb via sql instructions.

hope you can help me, and thanks in advance for your attention.

Posted: Mon May 14, 2007 12:25 pm
by volka

dba installation under windows

Posted: Mon May 14, 2007 1:52 pm
by oscquin
Hello volka, thanks for your reply. You will think "what a fool" but, under windows, is it possible to install these dba functions and if so, how you do it?

thanks again...

Posted: Mon May 14, 2007 4:10 pm
by volka
The zip package as well as the installer for php 5.2.2 at http://de2.php.net/downloads.php contains a php_dba.dll
Just activate the module by removing the leading ; from extension=php_dba.dll in your php.ini
Ask phpinfo() which php.ini you have to change. After you've successfully chenged the file and restarted your webserver phpinfo() should print
dba
DBA support enabled
Supported handlers cdb cdb_make db3 inifile flatfile