[ErrorException] file_put_contents(./composer.json): failed to open stream: Permission denie d
sudo chown -R $USER ~/.composer/
[ErrorException] file_put_contents(./composer.json): failed to open stream: Permission denie d
sudo chown -R $USER ~/.composer/
Warning: file_put_contents(phplog): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/
maybe you can change your Xampp Apache settings.
File location : Applications/XAMPP/xamppfiles/etc/httpd.conf
Set section with your user and group to allow PHP to write :
<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User deamon
Group deamon
</IfModule>
change
User deamon
to
User [your user name]
and
Group deamon
to
Group #-1
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us