PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Dec 13, 2017 1:50 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: restarting an apache
PostPosted: Thu Mar 04, 2004 6:02 am 
Offline
Forum Regular
User avatar

Joined: Thu Nov 27, 2003 6:02 am
Posts: 633
Location: Israel - the best place to live in after heaven
is there a way using command line to restart the apache
(withoguht using the apache monitor)?
thanks in advance
peleg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2004 6:10 am 
Offline
Admin
User avatar

Joined: Wed Aug 13, 2003 7:02 am
Posts: 4522
Location: York, UK
Heres some codes for ya, restart is -K restart

Syntax: [ Download ] [ Hide ]
Usage: apache ї-D name] ї-d directory] ї-f file] ї-n service]
             ї-C "directive"] ї-c "directive"] ї-k signal]
             ї-v] ї-V] ї-h] ї-l] ї-L] ї-S] ї-t] ї-T]
 -D name          : define a name for use in  directives
  -d directory     : specify an alternate initial ServerRoot
  -f file          : specify an alternate ServerConfigFile
  -C "directive"   : process directive before reading config files
  -c "directive"   : process directive after  reading config files
  -v               : show version number
  -V               : show compile settings
  -h               : list available command line options (this page)
  -l               : list compiled-in modules
  -L               : list available configuration directives
  -S               : show parsed settings (currently only vhost settings)
  -t               : run syntax check for config files (with docroot check)
  -T               : run syntax check for config files (without docroot check)
  -n name          : name the Apache service for -k options below;
  -k stop|shutdown : tell running Apache to shutdown
  -k restart       : tell running Apache to do a graceful restart
  -k start         : tell Apache to start
  -k install   | -i: install an Apache service
  -k config        : reconfigure an installed Apache service
  -k uninstall | -u: uninstall an Apache service


Mark


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2004 6:16 am 
Offline
Forum Newbie

Joined: Thu Feb 19, 2004 12:46 am
Posts: 21
service httpd restart

see this might do but for this u need to be root.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group