Re: Problem with manual running PHP script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, October 27, 2006 6:22 am, Rosen wrote:
> I have scheduled php script, which runs with "c:\php\php.exe php
> test.php",
> i.e. without browser. I give working dir the directory of the script.
> When I start it from the browser all is ok.
> But when I start manualy sctipt with "c:\php\php.exe text.php >ll.txt"
> the
> script gives me an error( in ll.txt): "Call to undefined function:
> ocilogon() in  ...."
> This is function for connect to Oracle database.
> When I try to connect to MySQL database with the same script ( just
> for
> test) , there in no problem.
>
> Can someone help me ?

You need to use the -c flag of php.exe to find the same php.ini as the
working version.

You're not using the same php.ini, or you're using NO php.ini on the
one that works.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux