I have downloaded and installed XAMP on a Mac dual using OS X 10.4.2 and I have installed Xaraya as my first site install test. Everything went fine. I have run the sudo su ----Applications/xampp/xamppfiles/mampp security in the Terminal application to make all the securities warnings green.
I would like to thank the Apache Friends for this package it is very good and saves a lot of time.
I have written an Applescript to start and stop XAMPP. I just place it in the Scripts Menu. One problem that I have not solved yet is that it will not start XAMPP if Personal Web Sharing is "on" in the System Preferences/Sharing folder. I think it should be set to "off" anyway. Can You have XAMPP and Apples Personal Web Sharing (Apache 1.3) running at the same time? The script just checks for instances of httpd processes running and can not distinguish were the process is coming from.
Start script:
try
set httpdstatus to do shell script "ps -ax|grep httpd|grep -v grep"
set status to "XAMPP seems to be running"
set ButtonText to "Stop XAMPP"
on error
set status to "XAMPP does not seem to be running"
set ButtonText to "Start XAMPP"
end try
set dialogReply to display dialog status & " — Do you want to start or stop XAMPP?" buttons {ButtonText, "Cancel"} default button 1
if button returned of dialogReply is "Stop XAMPP" then
do shell script " /Applications/xampp/xamppfiles/mampp stop" with administrator privileges -- stop xampp
else
do shell script " /Applications/xampp/xamppfiles/mampp start" with administrator privileges -- start xampp
end if
--end of script.
Copy this to the Script Editor in the Applications/Applescript/ folder and save it to Library/Scripts folder.
The script Menu is activated using the AppleScript Utility application in Applications/Applescript/ folder in Tiger.
__Jeremy