If you change a file in /usr/local/apache/conf or /usr/local/lib/php.ini, as root on carson or andrews you may gracefully reinitialize Apache with:
/etc/init.d/apachectl graceful

If you modify mysql or Java, then the script /etc/init.d/gsrc is used to start and stop Apache, Java and MySQL.

To stop the website:

/etc/init.d/gsrc stop

To start the website

/etc/init.d/gsrc start

Under Solaris 10, we are supposed to use the svc framework, but instead we use the older /etc/init.d framemwork. To configure Solaris so that /etc/init.d/gsrc is run at the right time, become root and do:

cd /etc/rc0.d
ln -s ../init.d/gsrc K14gsrc
cd ../rc2.d
ln -s ../init.d/gsrc K20gsrc
cd ../rc3.d
ln -s ../init.d/gsrc S40gsrc
cd ../rcS.d
ln -s ../init.d/gsrc K14gsrc
The K scripts will stop the website during shutdown from the various init states, the S script will start the website when entering init state 3. Note that we use symbolic links instead of hard links here. Older versions of Solaris used hard links. I find them confusing. The links should look like:
carson.EECS.Berkeley.EDU:root: %C2> ls -l /etc/rc*/*gsrc*
lrwxrwxrwx   1 root           14 Feb 21 08:49 /etc/rc0.d/K14gsrc -> ../init.d/gsrc
lrwxrwxrwx   1 root           14 Feb 21 08:49 /etc/rc2.d/K20gsrc -> ../init.d/gsrc
lrwxrwxrwx   1 root           14 Feb 21 08:49 /etc/rc3.d/S40gsrc -> ../init.d/gsrc
lrwxrwxrwx   1 root           14 Feb 21 08:49 /etc/rcS.d/K14gsrc -> ../init.d/gsrc