php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22354 ocilogon problem only in command line interface
Submitted: 2003-02-21 08:32 UTC Modified: 2003-02-23 05:15 UTC
From: tobi at blackswan dot ch Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.3.1 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: tobi at blackswan dot ch
New email:
PHP Version: OS:

 

 [2003-02-21 08:32 UTC] tobi at blackswan dot ch
hello

i have a problem with the php cli (command line interface)

in php (webbrowser) my script works perfect...

when i test the script in cli i get the following error -->

error
-----

<b>Fatal error</b>:  Call to undefined function:  ocilogon() in <b>D:\apps\Apache2\htdocs\test\scanner\test.php</b> on line <b>9</b><br />

script
------

<?php
$host = "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 1521)))(CONNECT_DATA=(SID=test)))";
$conn = ocilogon("user","pass",$host);
?>

configuration
-------------

php 4.3.1
apache 2.0.43
oracle client 9.2.0.1.0

%PATH% is set to D:\Program\ora92\bin
phpinfo --> oci enable

thx & g tobi








Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-23 05:15 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Check your php.ini.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 05:01:27 2024 UTC