From: tobi at blackswan dot ch Operating system: windows 2000 PHP version: 4.3.1 PHP Bug Type: OCI8 related Bug description: ocilogon problem only in command line interface
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 -- Edit bug report at http://bugs.php.net/?id=22354&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22354&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22354&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22354&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22354&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22354&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22354&r=support Expected behavior: http://bugs.php.net/fix.php?id=22354&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22354&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22354&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22354&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22354&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22354&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22354&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22354&r=gnused