Re: Apache

From: Date: Fri, 05 Jan 2001 02:06:19 +0000
Subject: Re: Apache
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-32796@lists.php.net to get a copy of this message
if you're running redhat do: /etc/rc.d/init.d/httpd stop rpm -qa | grep apa get the name of your apache rpm rpm -e <<apache rpm>> it will probably give you messages about a couple apache-specific dirs (redhat installs crap _everywhere)... once you have rpm -e'd the apache rpm, you can just rm -rf those dirs. you can then cd /path/to/apache/bin/ cp apachectl /etc/rc.d/init.d/ if you'd like, you can insert this text into the comments at the top of apachectl: # Comments to support chkconfig on RedHat Linux # chkconfig: 345 90 16 # description: apache then you can run /sbin/chkconfig --level 345 apachectl on and your new copy of apache will run just peachy :) --- -- Alex Black, Head Monkey enigma@turingstudio.com The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: jeffp-php@outofservice.com ("Jeff P") > Newsgroups: php.general > Date: 4 Jan 2001 17:43:54 -0800 > Subject: Re: [PHP] Apache > > >> Great it installed apache and I checked over >> the new httpd.conf file and it seemed to have >> all the correct information in it. Then I >> tried to stop apache using apachectl stop but >> realized the only copy of it was the new one >> installed, so I ran it from there, and it said >> nothing was running so I ran apachectl start >> from the newly installed version and guess >> what the old version is still running. So for >> the hell of it I tried httpd.restart and >> httpd.reload - still no luck. Any ideas?? > > type: > ps -auxww | grep httpd > > you should see maybe 5 lines with info on the > running processes. > > > your original apache is probably someplace like > /usr/sbin/httpd, with conf files in /etc/httpd, > depending upon what system you're running. > > do: > find / -type d -name apache > > if you don't mind the load (ie, i hope You're not > doing this on a production box). > > you'll need to modify your /etc/rc.d scripts to > remove reerence to your old apache, since it'll > just come back on reboot. in the mean time, if > you just want to make it go away, look for the > process running. kill them (ie, 'kill <pid>' where > pid is the process id -- 'man kill' and 'man ps' > for details). One of the apache processes will be > the master -- that's the one that needs to be > killed (probably the lowest process number). > > > best, > jeff > > > -- > 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 >

« previous php.general (#32796) next »