php neustart

daiv schrieb:
apachectl restart

Wird dann der Webserver und PHP durchgestartet? Wie sieht das aus wenn noch z.B. mysql läuft, startet dann auch die DB nach dem Aufruf von apachectl restart?
 
apachectl is nur für den apache und dementsprechend für den phpinterpreter der darauf läuft, mysqld läuft separat und hat nichts mit dem indianer zu tun, durch phpanweisungen wird nur auf die datenbank zugegriffen, sie wird nicht dadurch gestartet oder angehalten oder sonstwas
stimmt doch oder?
 
In aller Deutlichkeit php ist kein Dienst oder Programm das man neustarten kann oder muß.


/me startet mal mit nem neuen :huth: durch...
 
du solltest nicht 'apachectl restart' benutzen, sondern 'apachectl stop' und anschliessend 'apachectl start'.

auf bald
oenone
 
lies die manpage von apachectl(1)...

Code:
       restart     Restarts the Apache daemon by sending it a
                   SIGHUP.   If  the daemon is not running, it is
                   started.  This  command  automatically  checks
                   the  configuration files via configtest before
                   initiating the restart  to  make  sure  Apache
                   doesn't   die.   [b]If  the  Apache  daemon  runs
                   chrooted (default in OpenBSD)  and  3rd  party
                   modules  are  loaded,  restart may fail due to
                   path inconsistency. Completely stop and  start
                   the daemon instead.[/b]

auf bald
oenone
 
Zurück
Oben