The only thing that you really need to do is reset OSX Web server to default and thats the last step below. The reverse of what you did to install on the link that you provided would be:
Use MacPorts to add the remaining packages
sudo port remove mysql5 ffmpeg ImageMagick p5-image-exiftool antiword xpdf subversion ghostscript ufraw wget
(There is currently a bug in the port for gimp2 which is a dependant of ufraw, so if you do not need raw support you should leave out ufraw Sep-09)
Configure php.ini
sudo cp /etc/php.ini.default /etc/php.ini
- Install ResourceSpace from Subversion
sudo rm -R /Library/WebServer/Documents/resourcespace
mysql -u root -e "drop database resourcespace"
Set up the cron job
cd ~
nano mycrontab
Remove the line:
0 1 * * * wget -q -r http://localhost/pages/tools/cron_copy_hitcount.php
Ctrl+O, Ctrl+X to save and quit, then do:
crontab mycrontab
Finally...
Use caution with this one becasue it will wipe out all apache settings and restrore them to facory defualt, so if you have other settings that you want to keep, this would wipe them out. To reset the webserver in OSX run the command sudo serveradmin command web:command=restoreFactorySettings