Click to See Complete Forum and Search --> : How to start and stop php web services in Linux ?


lubiel2
11-24-2003, 04:16 PM
Hello,

someone knows the way to restart services
php in RedHat linux from command line ???

I am using Apache.

any help is greatly appreciated.

ph34r
11-24-2003, 04:20 PM
apachectl start

or...

apachectl stop

Zoist
12-10-2003, 10:28 PM
I assume you are using the Red Hat php & apache default RPMs? Then php would be built-into apache as a module.

All you need to do is type:
/etc/rc.d/init.d/httpd start And to stop or restart, just replace start with stop or restart!