In mac 10.6.8 systempreference->sharing->WebSharing is there but mac 10.8 websharing not in sharing folder how can i add and enable websharing in systempreference panel.
I have used this on a few Macs running OSX 10.8:
http://amz.clickontyler.com/WebSharing.zip
It creates a PrefPane in System Preferences, with two toggles: - web on/off - php disabled/enabled
On one of the Macs it didn't work at first. I uninstalled and re-installed it. It can be uninstalled by right-clicking on the PrefPane, and selecting “Remove Preference Pane”. Or by removing it from YourUserName/Library/PreferencePanes/ or from /Library/PreferencePanes, depending how you installed it.
On re-install, it worked, but I think it doesn't 'keep track' of the service if for instance, you just kill the httpd process, or stop it through Activity Monitor. I don't think WebSharing PrefPane knows. It has to be re-toggled.