?
Solved

ocilogon from cli (command line interface)

Posted on 2003-02-21
6
Medium Priority
?
369 Views
Last Modified: 2013-12-12
hello

i've got a problem with connecting to oracle from the cli (command line interface)...

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 />

the problem only exists by executing the php file from command line... with the webbrowser everything works fine...

can anyone help me plz ? thx

w2k/apache2/php4.3.1

g blackswan
0
Comment
Question by:blackswan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:s-maxim
ID: 7999321

can you give us (actually me as I am the maintainer of OCI8 PHP's extension) regarding your command like usage/options and/or the full PHP code.

It is an interesting question and might as well result into a bug for me to fix for PHP 4.4 release :)

Maxim Maletsky
maxim@php.net
0
 

Author Comment

by:blackswan
ID: 8003542
0
 

Author Comment

by:blackswan
ID: 8003570
additional notes...

i call the php.exe from a batchfile

@d:\apps\php\php.exe test.php %1

the call works perfect... 'every' other php code works well...

only the oci connect won't work...

perhabs i should test another call method ?

g tobi

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:blackswan
ID: 8195661
i've got the solution

copy the php.ini file to the apache homedir AND to the php homedir...

maybe if you copy the php.ini file to the win system32 directory it works for browser and cli use...

g blackswan
0
 
LVL 14

Expert Comment

by:ThG
ID: 9705168
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

> PAQ/Refund
Reason: User answered his own question

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

ThG
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9751947
PAQed, with points refunded (100)

Computer101
E-E Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question