Click to See Complete Forum and Search --> : OCIFunctions on php4 / win2k
I just finished the first phpscript to connect to my oracle 8i database. when parsed the script returned an error claiming that ocilogon() would be an "undefined function" - what the hell ?!?!?
There is only one php4 binary for windows.
does this mean that i have no oci8 support compiled into it ?!?!? why not? where can i obtain a win version with oci8-support (and xml) ???? needed desperately!
thanx in advance
mathias
try this
http://www.mm4.de/andreas.otto/php_related/
t.j.a
I have the same problem but my Oracle version is 7.3 (not out of choice).
I downloaded and installed the apache module as mentioned in the previous reply, but ora_logon does not work, and neither does oci_logon.
Patrick,
what's the problem ?
some hints:
1. do not user ora functions only oci.
2. have correctly setup /configure the the destribution I mention above (i.e. php.ini) ?
3. have you installed Oracle sqlNet client ?
you have ab old (very old) version of oracle db but this should not be a problem
Please specify your problem.
thanasis
Basically, I want to switch to PHP$ to use sessionmanagement, and other advanced features, but unfortunately after the upgrade I cannot connect to my Oracle database. ORA functions using PHP3 worked before but stopped working with PHP4.
Using OCI functions has never worked. Maybe wrong version of SQLNet? In that case the question is where to get a newer version. Is it available for download, or do I have to go through the whole support chain?
>1. do not user ora functions only oci.
My Production site uses oci and it works with php3. I don't mind changing all database interactions to oci as long as I get it to work with php4.
>2. have correctly setup /configure the the destribution I mention above (i.e. php.ini) ?
Yes the ini file is allright
>3. have you installed Oracle sqlNet client ?
SQLNET Client is installed. ODBC etc works fine. PHP3 calls to ORA functions also work.
Please let me know if you have any further ideas.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.