RE: [PHP] webserver restart,
| From: | Jason | Date: | Wed, 05 Jul 2000 19:17:47 +0000 |
| Subject: | RE: [PHP] webserver restart, | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5043@lists.php.net to get a copy of this message | ||
You could use the C solution but then the executable could be run by anyone
on the server and that wouldn't be a good thing. Why exactly would you want
to restart the webserver from the web?
jason
> -----Original Message-----
> From: Ken N [mailto:kenn@pcintelligent.com]
> Sent: Wednesday, July 05, 2000 9:09 AM
> To: Jason
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] webserver restart,
>
>
> No, I want to restart from the script. and the script runs as the user the
> webserver runs as, see what I mean.
>
> Thanks
> Ken N
>
> http://cleveland.lug.net/~rocket/
>
> The answer is simple if you grant that ironies are like submarines;
> dangerous only when submerged.
>
>
> On Wed, 5 Jul 2000, Jason wrote:
>
> > Are you restarting the webserver from the command line? Try
> > /path/to/apache/bin/apachectl restart.
> >
> > Jason
> >
> > > -----Original Message-----
> > > From: Ken N [mailto:kenn@pcintelligent.com]
> > > Sent: Wednesday, July 05, 2000 8:47 AM
> > > To: php-general@lists.php.net
> > > Subject: [PHP] webserver restart,
> > >
> > >
> > > Does anyone know how to restart a web server after I make
> changes to the
> > > httpd.conf file? I have heard that you can write a shell
> script and then
> > > make a little C program that calls it and have the C program
> run setuid. I
> > > I was wondering if there is a better way and if there isn't is this
> > > insecure?
> > >
> > > Thanks
> > > Ken
> > >
> > > http://cleveland.lug.net/~rocket/
> > >
> > > The answer is simple if you grant that ironies are like submarines;
> > > dangerous only when submerged.
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> > >
> > >
> >
> >
> > _______________________________________________________
> > Site Design, Hosting, and E-Commerce at www.webpipe.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net