php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16427 Fatal error: Call to undefined function: ocilogon()
Submitted: 2002-04-04 06:10 UTC Modified: 2006-07-17 08:05 UTC
From: prabinlal at engineer dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.1.2 OS: windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: prabinlal at engineer dot com
New email:
PHP Version: OS:

 

 [2002-04-04 06:10 UTC] prabinlal at engineer dot com
how can i connect to oracle using php I have installed a php in IIS. 

I got this error on browsing the site

 Fatal error: Call to undefined function: ocilogon() in C:\abc\php\try.php on line 3

I wrote this code:

<?
require('./db-include.inc');
$iDBConn = OCILogon(DB_USER,DB_PASS,DB_NAME);
?>

my oracle is in D drive

what i have to to please suggest me


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-04 06:13 UTC] derick@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 [2002-07-04 07:33 UTC] dhirajthakur at yahoo dot com
Fatal error:  Call to undefined function:  ocilogon()
i am facing theis error in connect to oracle using Apche sever . If any problem with my configration to Apche server then please inform my email id
thanks
 [2003-04-09 19:53 UTC] joydeep_ghosh at net dot com
Try this out 

require('./db-include.php');
  $iDBConn = OCILogon(DB_USER, DB_PASS, DB_NAME); 
echo $iDBConn . " \n ";

Code lines in db-include.php

<?php
  define(DB_USER,'username');
  define(DB_PASS,'password');
  define(DB_NAME,'servername');
?>
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 11:01:31 2025 UTC