简体   繁体   English

操作系统Sierra更新后MAMP服务器不工作

[英]MAMP server not working after OS Sierra update

I recently updated to the latest version of macOS and can't get an old MAMP-dependent project I have to run. 我最近更新到了最新版本的macOS,无法运行必须依赖于MAMP的旧项目。 It was working fine right before I upgraded. 在我升级之前,它工作正常。 I googled my way around thinking the upgrade might be something simple like the previous OS upgrade fix that required simply renaming the file but I couldn't fine anything. 我用谷歌搜索的方式认为升级可能很简单,例如以前的OS升级修复程序,只需要重命名文件即可,但是我什么都做不了。

Has anyone else had any MAMP issues with the latest macOS update or what are some common local environment fixes to look into after an OS update? 其他人在使用最新的macOS更新时是否有MAMP问题,或者在更新OS后需要研究一些常见的本地环境修复程序?

apache_error_log: apache_error_log:

[Sun Nov 27 17:40:12 2016] [notice] FastCGI: process manager          initialized (pid 2517)
[Sun Nov 27 17:40:12 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 17:40:12 2016] [notice] Digest: done
[Sun Nov 27 17:40:13 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Sun Nov 27 18:41:25 2016] [notice] caught SIGTERM, shutting down
[Sun Nov 27 18:41:34 2016] [notice] FastCGI: process manager initialized (pid 2928)
[Sun Nov 27 18:41:34 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 18:41:34 2016] [notice] Digest: done
[Sun Nov 27 18:41:35 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations

I was also having trouble with MAMP after having upgraded the Mac operating system to the High Sierra. 将Mac操作系统升级到High Sierra后,我也遇到了MAMP的麻烦。 The Apache Server was not starting. Apache服务器未启动。 My MAMP is an old version (version 1.9). 我的MAMP是旧版本(1.9版)。 To solve I just created a folder called logs inside the Library folder. 为了解决这个问题,我刚刚在Library文件夹中创建了一个名为logs的文件夹。 Only that and MAMP returned to normal operation. 只有这样,MAMP才能恢复正常运行。

I found this solution by seeing in the logs folder. 我通过在logs文件夹中查看找到了该解决方案。 In the Apache log (apache_error_log) I saw that it was looking for the "logs" folder inside the "Library" folder, which did not exist. 在Apache日志(apache_error_log)中,我看到它正在寻找“ Library”文件夹中的“ logs”文件夹,该文件夹不存在。 So just creating this folder solved. 因此,只需创建此文件夹即可解决。

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

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