Hi everyone,
I am trying to add the oci8 extension to php 4.3.10, to access a remote oracle database.
First does anyone know of any good info about this, there seems to a gap of information between what php.net says and what oracle.com says.
So after lots of reading and searching, I think i need the oracle client libraries on the linux machine for the extension to use. I downloaded the instant client from oracle, which should need almost no config/install.
Now i am stuck.
My page says "called to undefined function ocilogon".
This means that something is not right with the oracle extension.
What i would really like some help with is...
1) I am not sure whether i need to add an oracle user or whether i should be trying to make it use the account like apache does?
2) Which environment variables to update and what to put in them. e.g. LD_LIBRARY_PATH should have the path to the instant client, but i dont know which other environment avrs need setting.
3) Since i installed apache and php via apt, do i need to recompile them with oracle support?
My php.ini file has "extenson=oci8.so" as the last line.
Thanks in advance.
JEz
I am trying to add the oci8 extension to php 4.3.10, to access a remote oracle database.
First does anyone know of any good info about this, there seems to a gap of information between what php.net says and what oracle.com says.
So after lots of reading and searching, I think i need the oracle client libraries on the linux machine for the extension to use. I downloaded the instant client from oracle, which should need almost no config/install.
Now i am stuck.
My page says "called to undefined function ocilogon".
This means that something is not right with the oracle extension.
What i would really like some help with is...
1) I am not sure whether i need to add an oracle user or whether i should be trying to make it use the account like apache does?
2) Which environment variables to update and what to put in them. e.g. LD_LIBRARY_PATH should have the path to the instant client, but i dont know which other environment avrs need setting.
3) Since i installed apache and php via apt, do i need to recompile them with oracle support?
My php.ini file has "extenson=oci8.so" as the last line.
Thanks in advance.
JEz