我正在按照一条说明删除尝试启动phpmyadmin的错误403。
http://jonathannicol.com/blog/2012/03/11/configuring-virtualhosts-in-xampp-on-mac/
由于我已将user
从deamon
更改为etc/httpd.conf
中的macOS用户名,因此Apache不会再次启动:ERROR: Failed to start "apache": cannot start service: AH00543: httpd: bad user name username
。
<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 username
Group daemon
</IfModule>
将用户更改为守护进程显然可以,但是会导致错误403。