mamp

MAMP - mysql server won't start on port 3306

不打扰是莪最后的温柔 提交于 2019-12-06 10:21:34
问题 mySQL Server refuses to start up on port 3306 but ok on 8889. Anyone got any ideas? Banging head on desk here :-) 回答1: The simplest solution would be probably to figure out if there is another instance of MySQL running and stopping it, e.g. you could call in Terminal : ps -ax | grep mysqld and then kill the appropriate mysqld process. And to check for processes listening on the port 3306 : lsof -i:3306 回答2: for me solution was to stop mhsql service sudo launchctl unload -F /Library

Mamp 3 - apache won't start on port 8888

依然范特西╮ 提交于 2019-12-06 09:17:42
问题 Running Mavericks and I just upgraded to Mamp 3. I can't get apache to start using the default port of 8888. Runs fine on port 80, and all ran smoothly using Mamp 2. Restarting Apache using SUDO doesn't work. I used "sudo apachectl stop" but this had no effect. Error logs show nothing. when I switch to port 80 and MySQL port 3306, it all starts, but I don't want it to use port 80. Thanks. 回答1: i have found this solution it worked for me i hope it helps you : Just navigate to /Applications

Mongo PHP Driver 1.2.10 with MAMP

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 07:37:19
I'm trying to get the latest Mongo Driver to work with MAMP 1.9.6 on OS X 10.5.8. I built it successfully from source since it seems that there are no pre-compiled releases, included it into the right directory and restarted the apache. But PHP doesn't recognize the extension. I used the 1.0.11 driver previously which worked fine, but I need the new version, because Doctrines ODM requires it. When I replace the 1.2.10 mongo.so with the 1.0.11 and restart apache mongo is available. I don't get what could be wrong. Anyone had this behaviour or any guesses to get this to work? Update : The PHP

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 SSL error: “error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure”

烂漫一生 提交于 2019-12-06 07:15:44
问题 I am using MAMP on OS X Yosemite to develop a website on my local machine. The website is a client application for an API that runs on HTTPS. I keep getting this error when I try to call the API from PHP: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure The same code works on the server, but the site is already in production so I need to be able to create a separate development environment. I get exactly the same error whether I call the API with cURL or file

How to upgrade OpenSSL in MAMP

浪尽此生 提交于 2019-12-06 05:00:14
问题 I am using MAMP 2.1 on Mac OS X 10.6.8 - This comes with the OpenSSL extention for PHP, however only version 0.9 - I need to upgrade it to 1.0 - however I'm not sure how I would go about such a task. Can anybody help? 回答1: You can follow these instructions I got it from here Upgrade Steps 1) Make sure you have XCode command line tools installed. We are going to need a C compiler and other libraries to upgrade cURL. So fire up a Terminal which you will continue to use for each step in this

Drush cannot connect to MySQL on MAMP?

邮差的信 提交于 2019-12-06 04:43:22
问题 Im trying to set Drush up for the first time. Im using Mamp and Mountain Lion. When I type 'drush' into the terminal I get a list of commands so it seems to be installed up OK. Ive changed the default web directory folder in MAMP. I have many Drupal sites within folders within the web directory. So the url for one site is http://localhost:8888/omega/omegav3/ and another is http://localhost:8888/omega/omegav4/ By navigating to the site folder in the terminal I can then run a Drush command,

MAMP - Mac OS X

瘦欲@ 提交于 2019-12-06 04:18:29
问题 I have been using MAMP for sometime now on port 8888 so I visit website in the browser like so: http://localhost:8888/website However I have just installed a Wordpress Multisite and therefore want to switch to port 80 to allow me to visit the websites as normal and have sub directories e.g. http://website.co.uk , http://subdomain.website.co.uk I have setup the vhosts file within MAMP and changed the port to 80 in the MAMP preferences but ever since doing this MAMP will not start Apache. MySQL

can not modify PATH with putenv() running MAMP / PHP 5.6.1 / Mac OS X El Capitan

倖福魔咒の 提交于 2019-12-06 03:41:11
Config: MAMP Pro PHP 5.6.1 Mac OS X El Capitan I need to add /user/local/bin to the system paths php can access I've tried to use putenv() but it seems like I can't change the value of environment variable PATH in php using putenv() putenv('PATH=' . '/user/local/bin' . PATH_SEPARATOR . getenv('PATH') ); does not change the value this works with other variables PATH seems to be protected and I can not figure out where I can unprotect it - php ini settings do not seem to have anything regarding non-safe mode env vars. does that ring a bel with anyone? thanks Possibly protected by the new

MongoDB Exception: Server reports wire version 0, but version of libmongoc requires at least 3

℡╲_俬逩灬. 提交于 2019-12-06 03:11:18
问题 Fatal error: Uncaught MongoDB\Driver\Exception\ConnectionException: Server at localhost:27017 reports wire version 0, but this version of libmongoc requires at least 3 (MongoDB 3.0) I have PHP 7.0.13, MAMP and MongoDB. The MongoDB extension for PHP has been installed. I have the following: <?php ini_set('display_errors', 'On'); require 'vendor/autoload.php'; var_dump(extension_loaded('mongodb')); echo phpversion('mongodb')."\n"; $m = new MongoDB\Driver\Manager("mongodb://localhost:27017"); //