mamp-pro

FastCGI timeout error MAMP Pro 4

懵懂的女人 提交于 2019-12-06 07:21:43
问题 I looked into older questions https://craftcms.stackexchange.com/questions/4661/fastcgi-error-when-accessing-a-local-development-site-using-mamp-pro/6573#6573?newreg=aa4ad11b453f4c7f93882ce478d837a3 How do you increase the apache fastCGI timeout on MAMP / MAMP Pro? but my configuration is quite differente because I'm using MAMP Pro 4 and I have multiple PHP versions running I tried to edit MAMP/fcg-bin/phpx.x.x.fcgi and add -idle-timeout 3600, since it seems a little cleaner #!/bin/sh export

MAMP Pro: Apache couldn't be started because the port was already in use

荒凉一梦 提交于 2019-12-04 23:46:46
问题 When attempting to start my servers, Apache fails to start, and MAMP claims that the port ([::]:8888) is already in use. I have tried virtually every way I know of determining what process is using that port (as well as many of the solutions previously listed on SO), but I get no results. Neither lsof or netstat list anything about port 8888. There does not appear to be anything using this port at all. I need to either improve my search and find what(if anything) is really using the port, or

Use SSL with MAMP PRO 4

大兔子大兔子 提交于 2019-12-04 13:31:15
问题 Since I've updated to chrome 63, my sites in localhost are redirected to https, so I decided to use SSL with MAMP PRO but I can't make it work, chrome says Your connection is not private. In the SSL panel of MAMP, I generated the certificate and set its path for the key and certificate, however I don't know what I should do for "Certificate chain file (Apache only)" 回答1: I hit the same issue recently and found a solution that works for me on macOS. As you've already highlighted, this issue

env: mysql: No such file or directory after `wp import`

早过忘川 提交于 2019-12-03 14:53:26
问题 I'm trying to import a database locally using wp db import databasename.sql but I get the following error: env: mysql: No such file or directory . Can anyone tell me how to resolve this? 回答1: I resolved this by changing my $PATH, run this in command or update your .bash_profile : export PATH=$PATH:/usr/local/mysql/bin 回答2: The above didn't help me. I fixed it by adding this to my .bash_profile : export PATH=$PATH:/Applications/MAMP/Library/bin/ 来源: https://stackoverflow.com/questions/44440064

MAMP with Laravel Unix Socket

穿精又带淫゛_ 提交于 2019-12-03 09:36:47
问题 I'm working with MAMP on my local development server on my laravel application and I'm trying to figure out how I can safely setup my server so I don't have to use the following into the database connections mysql array because that should only be used when I'm on my development server. It works when I add the line into the mysql array however that isn't used if I was on a production server. Any ideas? 'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock', .env.development.php <?php

Use SSL with MAMP PRO 4

泄露秘密 提交于 2019-12-03 08:36:43
Since I've updated to chrome 63, my sites in localhost are redirected to https, so I decided to use SSL with MAMP PRO but I can't make it work, chrome says Your connection is not private. In the SSL panel of MAMP, I generated the certificate and set its path for the key and certificate, however I don't know what I should do for "Certificate chain file (Apache only)" I hit the same issue recently and found a solution that works for me on macOS. As you've already highlighted, this issue started with a Chrome update which is forcing SSL on localhost *.dev URLs . To get around it you need to add

PHP Artisan Migrate with MAMP and Unix Socket

一世执手 提交于 2019-12-02 19:45:51
I was developing my application originally in Laravel 4.2 but have since decided to move it to the 5.0 version so that it covers a lot more changes and strengths that 5.0 has over 4.2. I am trying to run my migratiosn however I am getting the error: [PDOException] SQLSTATE[HY000] [2002] No such file or directory I looked into this and noticed how it is because I'm running MAMP for my server instead of vagrant and homestead. I'm not knocking the uses of those two but I at this point feel more comfortable with MAMP until it fails me. The reason I know its MAMP is because of needing to declare

How do you increase the apache fastCGI timeout on MAMP / MAMP Pro?

吃可爱长大的小学妹 提交于 2019-11-28 20:50:00
Does anybody know how to increase the apache fastCGI timeout on MAMP / MAMP Pro? I've looked everywhere but can't seem to find it. Any help is appreciated as always. Thanks, Codarz360 This was so tedious but finally got it to work. In MAMP PRO: Under File > edit template > apache > httpd.conf Find the block for mod_fcgi <IfModule mod_fastcgi.c> and delete the following line: MAMP_FastCgiServer_MAMP Since you can specify which version of PHP you want to use with each domain, you need to set a new fastcgiserver, per php version, with its corresponding -idle-timeout ### flag. These should be

Apache not starting on MAMP Pro

爱⌒轻易说出口 提交于 2019-11-28 02:49:45
Apache wont start and it throws an error: OR Apache couldn't be started. Please check the log file for more information. dyld: Symbol not found: _iconv Referenced from: /usr/lib/libmecabra.dylib Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib in /usr/lib/libmecabra.dylib /Applications/MAMP/Library/bin/apachectl: line 80: 2799 Trace/BPT trap: 5 $HTTPD "$ This is the same for multiple ports. The reccomended MAMP ports AND the regular apache ports. MySQL starts perfectly fine. Any suggestions? Toby Mellor I updated to the latest version of yosemite last night. You apparently have to

Apache not starting on MAMP Pro

混江龙づ霸主 提交于 2019-11-26 23:50:25
问题 Apache wont start and it throws an error: OR Apache couldn't be started. Please check the log file for more information. dyld: Symbol not found: _iconv Referenced from: /usr/lib/libmecabra.dylib Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib in /usr/lib/libmecabra.dylib /Applications/MAMP/Library/bin/apachectl: line 80: 2799 Trace/BPT trap: 5 $HTTPD "$ This is the same for multiple ports. The reccomended MAMP ports AND the regular apache ports. MySQL starts perfectly fine. Any