Re: Command line has no network access

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

 



On Sun, Apr 1, 2012 at 6:10 PM, Lester Caine <lester@xxxxxxxxxxx> wrote:
> OK I probably know how to do this 10 years ago, but I'm not finding any
> prompts to remind me.
>
> Windows 2000, PHP5.2.10 cli ...
> I'm trying to set up a simple dump to run from scheduler. The code runs
> perfectly via the browser so I'm manually having to log in each day to run
> it. I've got an entry in the scheduler to run it, but I simply can't get it
> running from the command line prompt. It can't find even 'localhost' so will
> not connect to the database :(
>
> It's picking up the same ini file, and the same modules are loading, so it
> is just the network access from the command prompt ...
>
> ( changes from W2k are simply not possible since the main text to speech
> engine used on the site will not run on anything later and the supplier no
> longer exists :( )
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird - http://www.firebirdsql.org/index.php
>

This is usually because of security settings. You might want to check
under which user the scheduler starts the php script.

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