[ntp:questions] Re: ntpdate & php

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Mon Dec 22 15:35:06 UTC 2003


On 2003-12-22, Thomas Brathans <thobr at t-online.de> wrote:

> when I execute "ntpdate <server>" in the shell, it works fine - but trying 
> the same from within a php-script with backticks or exec() doesn't work... 
> any ideas why?

a) There's no need to run ntpdate, except on reboot
b) Only root can do this
c) Run ntpd

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt at charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-916
Referat V a - Kommunikationsnetze -             AIM.  ralfpostfix



More information about the questions mailing list