Re: Problem with manual running PHP script

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

 



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


[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