Use xampp to configure the environment on mac. Restart apache after the directory is changed. AH00526: Syntaxerroronline229ofApplicationsXAMPPxamppfilesetchttpd appears. conf: DocumentRootmustbeadirectory, which is a problem with selinux found on the Internet. chcon... use xampp to configure the environment in mac. After the directory is changed, restart apache to display AH00526: Syntax error on line 229 of/Applications/XAMPP/xamppfiles/etc/httpd. conf:
DocumentRoot must be a directory. I searched the internet for The selinux problem chcon-t httpd_sys_content_t, but the mac does not seem to have the chcon command.
Reply content:
Use xampp to configure the environment on mac. After the directory is changed, restart apache to display AH00526: Syntax error on line 229 of/Applications/XAMPP/xamppfiles/etc/httpd. conf:
DocumentRoot must be a directory. I searched the internet for The selinux problem chcon-t httpd_sys_content_t, but the mac does not seem to have the chcon command.
Syntax error on line 229 of/Applications/XAMPP/xamppfiles/etc/httpd. conf:
You can see the error description. the DocumentRoot configuration is incorrect, and the number of rows is also available. You can check the configuration here.
Otherwise, paste the configuration here to see it...
When you configure the VM, DocumentRoot does not point to the folder.