简体   繁体   English

MAMP 服务器配置错误 + PHP & MySQL 错误

[英]MAMP server configuration error + PHP & MySQL error

I'm attempting to use MAMP on a windows laptop, so I can run a JavaScript experiment for my Phd.我正在尝试在 Windows 笔记本电脑上使用 MAMP,因此我可以为我的博士运行 JavaScript 实验。 Unfortunately I can't seem to get past startup.不幸的是,我似乎无法通过启动。
When I open Mamp and select 'Start Servers' the following message pops up:当我打开 Mamp 并选择“启动服务器”时,会弹出以下消息:

MAMP could not start servers as configuration is not valid. MAMP 无法启动服务器,因为配置无效。 Please check logs...请检查日志...

Despite this message the Apache Server and My SQL Server boxes turn green to suggest they are active.尽管有这条消息,Apache Server 和 My SQL Server 框会变成绿色,表明它们处于活动状态。

After looking through a few logs I find the following errors, but I'm not sure how to address or fix them.在查看了一些日志后,我发现了以下错误,但我不确定如何解决或修复它们。

Apache_error.log Apache_error.log

[Sat Mar 03 08:10:15 2018] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [2018 年 3 月 3 日星期六 08:10:15] [警告] 初始化:会话缓存未配置 [提示:SSLSessionCache]

Php_error.log php_error.log

[02-Mar-2018 21:10:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\MAMP\\bin\\php\\php7.1.7\\ext\\php_imagick.dll' - The application has failed to start because its side-by-side configuration is incorrect. [02-Mar-2018 21:10:22 UTC] PHP 警告:PHP 启动:无法加载动态库 'D:\\MAMP\\bin\\php\\php7.1.7\\ext\\php_imagick.dll' - 应用程序无法加载开始是因为它的并排配置不正确。 Please see the application event log or use the command-line sxstrace.exe tool for more detail.请查看应用程序事件日志或使用命令行 sxstrace.exe 工具获取更多详细信息。 in Unknown on line 0在未知的第 0 行

Mampapp.log Mampapp.log

textMessage:The description for Event ID '-1073741724' in Source 'MySQL' cannot be found. textMessage:找不到源“MySQL”中事件 ID“-1073741724”的描述。 The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them.本地计算机可能没有必要的注册表信息或消息 DLL 文件来显示消息,或者您可能没有访问它们的权限。 The following information is part of the event:'D:\\MAMP\\bin\\mysql\\bin\\mysqld.exe: ready for connections.以下信息是事件的一部分:'D:\\MAMP\\bin\\mysql\\bin\\mysqld.exe:准备好连接。 Version: '5.6.34-log' socket: '' port: 3306 MySQL Community Server (GPL) ' Source:MySQL Category:(0) EntryType:Information EventID:100版本:'5.6.34-log' 套接字:'' 端口:3306 MySQL 社区服务器 (GPL) ' 来源:MySQL 类别:(0) 条目类型:信息事件 ID:100

Thanks, any help is appreciated.谢谢,任何帮助表示赞赏。

MAMP is for mac specific. MAMP 是针对 mac 的。 You would better take Xamp cross-platform (personal recommendation) or Wamp that is windows specific.您最好采用 Xamp 跨平台(个人推荐)或 Windows 特定的 Wamp。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM