
When making changes in your httpd-vhost.conf file, make sure to test it before reloading the apache config file or restarting apache.
Mac OSX
apachectl configtestXAMPP OSX
/Applications/XAMPP/xamppfiles/bin/apachectl configtestErrors should display, if there are any, otherwise you'll see the Syntax OK to indicate that there are no errors and you can reload the apache config file or restart apache.
Mac OSX
apachectl reload
apachectl restartXAMPP OSX
/Applications/XAMPP/xamppfiles/bin/apachectl reload
/Applications/XAMPP/xamppfiles/bin/apachectl restartTroubleshooting
If you have file sharing enabled on your OSX, make sure to disable it before restarting or reloading apache. Also, if you notice other httpd services running and you cannot start your XAMPP's apache, try to unload it using launchctl
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
Add new comment