关闭时,MAMP 有时会要求我输入用户名和密码,但并非总是如此
当我登录到我的 Mac OSX 管理员帐户时,MAMP 自动启动,这样我就可以直接管理我的服务器内容。但时不时地,当我关闭计算机时,MAMP 窗口会打开并询问我的管理员名称和密码,并且关闭过程会停止,直到输入此信息。
为什么它只会在某些情况下关闭时询问我,而不是一直询问我?有时当你关闭时它会在我意想不到的时候出现,这很烦人。我不知道如果您请求关闭程序,MAMP 会在什么条件下询问您的管理员信息。
When I log onto my Mac OSX admin account, I have MAMP automatically start so I can get right to managing my server content. But every now and then, when I shut down my computer, the MAMP window opens up and asks for my admin name and password, and the shut down process halts until this is entered.
Any reason why it would only ask me in certain cases when I shut down, and not all the time? It's sometimes annoying when you shut down and it shows up when I don't expect it. I don't know what are the conditions for MAMP to ask for your admin info if you request to close the program.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当配置的端口小于 1024 时,MAMP 需要 sudo 密码来关闭 apache 和/或 mysql 服务器。在类 UNIX 系统(如 Mac OS)上,您需要“su”权限来启动/停止此 IP 服务。
注意:可能当它没有明确要求您输入密码时,您刚才正在使用它进行另一项活动。
MAMP requires sudo password for shutting down the apache and/or mysql server when ports smaller than 1024 have been configured. on UNIX like systems (like Mac OS) you need "su" privileges to start/stop this IP services.
note: probably when it does not explicitly asks you for a password, you where using it a moment ago for another activity.
转到 mamp 中的首选项并单击重置 mamp 端口,它会将端口更改为默认值。
对于 Apache (8888) [MAC OS X 的默认值]
对于 MySQL (8889) [MAC OS X 的默认值]
Go to preferences in mamp and click reset mamp ports, it will change the ports to default.
For Apache (8888) [default for MAC OS X]
For MySQL (8889) [default for MAC OS X]