1

I have following code

$conn = oci_connect('user', 'password', 'localhost/XE');
if (!$conn) {
    $e = oci_error();
    trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
}

I can not connect from my xamp but on live server it works fine

error message is

Can't find libclntsh.so.

what i have wrong in my connection ?

4
  • 1
    What's your question? Commented May 14, 2014 at 13:39
  • what i have wrong in my connection ? Commented May 14, 2014 at 13:40
  • 1
    what error it's showing??? Commented May 14, 2014 at 13:41
  • Can't find libclntsh.so. Commented May 14, 2014 at 13:42

1 Answer 1

1

issue was with php.ini file it needed enable

extension=oci8.so

thank you to all

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.