httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Kaechelin>
Subject Re: Executing Apache commands with PHP (module)
Date Mon, 24 Jun 2002 12:56:49 GMT
Am Freitag, 21. Juni 2002 09:04 schrieb Robert Andersson:
> If you consider that this would mean to shut down the server
> during the request, it seems a bit weird when you think about it.
> I actually tried to do a similar thing, but no good outcome.
> It would probably be better that your php-script put a note
> somewhere, which another process can pick up and restart the
> server. That would be better than restarting every hour (as
> RuneImp suggested), to avoid restart when it's not needed.
> Although, you also could have a process that frequently checks
> the config file(s), and restart the server if it's been changed
> (ie. different modification time).

Ok, I will give it a try!
What about system load when I run 

/usr/local/apache/bin/apachectl graceful

every 5 minutes?

Or, how can I run a script in a loop which looks for modified 
conf-files generated by my php-apache-configure-webfrontend?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message