Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Php OCI to oracle

Options
  • 30-10-2007 3:23pm
    #1
    Registered Users Posts: 1,552 ✭✭✭


    I found a .php file off the web that uses OCI for to connect to oracle.

    Im using wamp and have the extensions uncommented(I removed the ;) for
    extension=php_oci8.dll
    and
    extension=php_oracle.dll



    But after opening it up it still gives me this error:
    Fatal error: Call to undefined function OCILogon() in C:\wamp\www\connect.php on line 4

    Can anyone help?


Comments

  • Registered Users Posts: 23,212 ✭✭✭✭Tom Dunne


    Where is your dll located? What does your extension_dir point to in your php.ini file?


  • Registered Users Posts: 1,552 ✭✭✭quinnd6


    extension_dir = "c:/wamp/php/ext/"

    php_oracle.dll and
    php_oci8.dll are in this directory "c:/wamp/php/ext/"


  • Registered Users Posts: 1,552 ✭✭✭quinnd6


    I tried installing zend core and now the whole page comes up a blank.


  • Registered Users Posts: 1,552 ✭✭✭quinnd6


    Fatal error: Call to undefined function apache_get_version() in C:\wamp\www\index.php on line 82

    What would cause this error?

    Is there something in the php.ini file that needs to be uncommented for this to work?


  • Closed Accounts Posts: 20 kowalski1979


    Have you the installed the oracle client software.

    http://www.oracle.com/technology/tech/oci/instantclient/index.html

    If OCI8 is correctly initialised it should appear when phpinfo() is run.


  • Advertisement
Advertisement