1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    london, uk
    Rep Power
    Hey, Folks!

    I'm trying to connect to an oracle database with PHP3. Below (1) are the
    params I used to install PHP3, which shows that I specified oracle.

    2) is the code where I try to make the connection with a standard
    PHP3 function OCILogon. 3) is what the browser tells me when I run
    the code.

    My checking around the various PHP help areas suggests that the error
    message means that I haven't included the oracle stuff with the PHP
    installation, but I don't think that's the case... ref 1) below.

    Aaaarrgghh!    { (

    Anyone have any ideas?


    ./configure --with-oracle              
       make install

    if (! ($conn = ocilogon("name","password","dbinstance"))) {

    Fatal error: Call to unsupported or undefined function ocilogon() in
    /usr/local/apache/htdocs/auth2.php3 on line 162

  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    If you specify --with-apache, then you can't specify --with-apxs. Additionally, if apxs is in non-standard location such as /usr/local/apache/bin/apxs, you need to specify the full path to apxs. Similarily, if your oracle is in a non-standard location, PHP configure script might not be able to locate where your oracle is with --with-oracle.

Similar Threads

  1. Uploading Files
    By vivekjain in forum ASP Programming
    Replies: 0
    Last Post: February 16th, 2004, 11:21 PM
  2. GD Library: undefined function imagecreatefromjpeg()
    By cuppycup in forum PHP Development
    Replies: 2
    Last Post: February 16th, 2004, 12:05 PM
  3. Fatal error: call to undefined function: mime_content_type()
    By jaypeesol in forum PHP Development
    Replies: 2
    Last Post: February 12th, 2004, 12:52 PM
  4. Replies: 5
    Last Post: February 11th, 2004, 02:18 AM
  5. Replies: 0
    Last Post: February 10th, 2004, 11:44 PM

IMN logo majestic logo threadwatch logo seochat tools logo