尝试解决错误403

时间:2019-04-15 16:09:40

标签: apache phpmyadmin xampp

我正在按照一条说明删除尝试启动phpmyadmin的错误403。

  

http://jonathannicol.com/blog/2012/03/11/configuring-virtualhosts-in-xampp-on-mac/

由于我已将userdeamon更改为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。

0 个答案:

没有答案