[Asterisk-Users] php with oci8 agi script

Ivan Vershigora noodlez at kubtelecom.ru
Fri Oct 21 02:01:11 MST 2005


Im trying to write a small php script wich will connect to oracle DB and
get me some information.
Ive already have a script wich perfectly works with apache.
But I cant launch it from asterisk

I think its becouse i should have some global enviroments
ORACLE_BASE and others

I have Asterisk at Home
i have inserted a few strings in /usr/sbin/safe_asterisk
like
export ORACLE_BASE=/usr/lib/oracle/10.1.0.4/client/
export ORACLE_HOME=/usr/lib/oracle/10.1.0.4/client/lib

but it is still dont works

Does any body have a good php_oracle_asterisk expirience ?

ps
sorry for my owfull english




More information about the asterisk-users mailing list