MC_ Posted February 28, 2008 Report Share Posted February 28, 2008 Uz winXP strādā, uz Win 2003 Server nepadodas argumenti fails cron.cmd: START /HIGH C:\php\php.exe C:\www\cron.php x=1 Uz WinXp: $_SERVER['argv'] satur mainīgo x=1 Uz Win 2003 Server: $_SERVER['argv'] ir NULL mēģināju arī meklēt mainīgajā $argv un mēģināju arī laist caur /cli/php.exe, bet nu nekaa... Kā lai atrisina prob.? Link to comment Share on other sites More sharing options...
Aleksejs Posted February 28, 2008 Report Share Posted February 28, 2008 http://bugs.php.net/bug.php?id=26206 Šis nav? Link to comment Share on other sites More sharing options...
zoltar Posted February 28, 2008 Report Share Posted February 28, 2008 Paskaties vai tev php.ini (lai kur nu tas būtu, meklē ar phpinfo()) ir ieslēgts register_argc_argv = On. Vietās kur neizmanto cli to parasti atslēdz tā panākot ātrāku php procesa startēšanos. Link to comment Share on other sites More sharing options...
Recommended Posts