Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how i can connect to oracle 10g db with sys privilege with php oci_connect ?

dbbeaf3f-ad15-4c13-9377-d5bed3611fa2Jul 11 2018 — edited Jul 11 2018

hello everybody

please can i finf someone who can help me to connect to my db on ocrale 10g with sys privilege using php oci_connect

i always get error : oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in

i changed : oci8.privileged_connect = on

my code is this : $c = oci_connect("SYS","opera10g",'172.16.50.5/OPERA', null, OCI_SYSDBA);

i cant connect 

but with other user it's work perfectly

thank you for helping Me

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2018
Added on Jul 11 2018
4 comments
521 views