At 08:22 AM 10/27/2006, 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 ? Thanks in advance, Rosen
Run a phpinfo.php, with one function in it: phpinfo(). Do this from the command line to check that PHP, from the command line, has the module necessary to connect to Oracle. Sounds like it doesn't.
I've not worked much with PHP on Windows, so I guess you would make certain you have the .dll for Oracle and enabled it in PHP.
The browser and the command line are two completely different environments. Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.14/501 - Release Date: 10/26/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php