Mac OSX 上的 XAMPP:为什么作为“守护进程"运行? [英] XAMPP on Mac OSX: Why running as 'daemon'?

查看:30
本文介绍了Mac OSX 上的 XAMPP:为什么作为“守护进程"运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有点困惑:我在我的 Mac OSX Macbook 上的 XAMPP 中运行 Apache 服务器.我写了一个文件上传脚本,它工作正常.但上传的文件作为所有者守护进程".如何将我或root"设置为所有者?因为现在我无法对上传的文件进行任何更改...

I'm a little confused: I'm running an Apache server within XAMPP on my Mac OSX Macbook. I wrote an file upload script and it's working fine. But the uploaded files have as owner "daemon". How can I set me or 'root' as owner? Because now I'm not able to make any changes in the uploaded files...

非常感谢提前和最好的问候!

Many thanks in advance and best regards!

推荐答案

/Applications/XAMPP/xamppfiles/etc/httpd.conf中改变

User daemon
Group daemon

User YourName
Group YourGroup

就是这样!

这篇关于Mac OSX 上的 XAMPP:为什么作为“守护进程"运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆