Rosen wrote: > Hi, > 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 ? sounds like the CLI is loading a different ini file than the webserver SAPI ... and that the CLI php.ini file does not load the oci extension (where are the ini file for the webserver SAPI does load it). > > Thanks in advance, > Rosen > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php