My knowledge is very limited with these apache settings. I wanted to have multiple sites that I could work on locally.
Yesterday it worked okay after installation but after shutting down and starting again today, it did not work.
Server won't start and Application log says:
Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
AH00526: Syntax error on line 237 of /Applications/XAMPP/xamppfiles/etc/httpd.conf:
DocumentRoot must be a directory
It is a folder
httpd.conf
line
237 DocumentRoot "/Users/username/Sites/xampp/site-folder”
238 Directory "/Users/username/Sites/xampp/site-folder">
Any ideas what is wrong and what to do?
Thanks,
Well, It is because of the comma that your text editor changed from " to ” after site-folder”
237 DocumentRoot "/Users/username/Sites/xampp/site-folder”
238 Directory "/Users/username/Sites/xampp/site-folder">
Change to:
237 DocumentRoot "/Users/username/Sites/xampp/site-folder"
238 Directory "/Users/username/Sites/xampp/site-folder">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With