[OSX Web Server Grayed Out](http://blog.redfern.me/wp-content/uploads/2011/07/Screen-shot-2011-07-02-at-19.29.00.png)
This managed to perplex me for some time...

For some reason, the Web Sharing checkbox which I would normally use to restart Apache under OSX became grayed out. I have since realised that I could have just clicked the lock (DOH!)… but I found a way of restarting Apache from the command line:

sudo apachectl restart

will restart Apache, reloading all php.ini/httpd.conf changes.