I’m running Shopware 6.4 locally using XAMPP 8.0.28 server (MacOs).
After installing Shopware and linking the virtual host, I get this error message:
Unable to parse file "<PATH_TO_FILE>/services.xml": The XML file "<PATH_TO_FILE>/services.xml"
is not valid.
I think it is missing permission/credentials. What am I doing wrong here?
2
Answers
I found the answer to the mentioned issue after a long time.
By default XAMPP doesn't inherit the user access permissions, so you need to adjust it in the file
/Applications/XAMPP/xamppfiles/etc/httpd.conf
Find the part for the
User
andGroup
:And change the 'daemon' values to your current user/group names.
Probably not what you want to hear, but unless you have touched that file there’s something weird going on with your development environment, as this vendor file is definitely valid.
Xampp
has proven time and time again to be difficult to use with modern platforms, as it’s either missing extensions or being configured weirdly. You should invest the time to set up a proper development environment.There are multiple options that are better suited:
homebrew
(not specific to Shopware)dockware
shopware-docker
devenv
(recommended to look into that option)