mamp

Settings up xdebug on MAMP PRO

喜夏-厌秋 提交于 2019-12-18 11:45:27
问题 I am trying to set up xdebug on mamp pro with no success. I searched all over the internet, nothing helped me. First I have tried just to uncomment the following line in php.ini: zend_extension="/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so" Next, I've tried the wizard: http://xdebug.org/wizard.php Next, I've tried adding these lines to php.ini: xdebug.default_enable=1 xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_host=localhost

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

為{幸葍}努か 提交于 2019-12-18 11:16:15
问题 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 回答1: 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

Mongodb and MAMP

与世无争的帅哥 提交于 2019-12-18 10:28:22
问题 I am using MAMP and would like to use mongo with PHP. I am stuck because the version of MAMP I'm using is the latest version I can find, and it's running PHP 5.2.11. The only Mongo PHP install I can find for OSX is for PHP 5.3. Is there any way to get mongo working with PHP using MAMP? 回答1: For MAMP 2.1.2 and PHP 5.4.10 Download MongoDB php driver . copy mongo.so to /Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/ and using temrinal cd /Applications/MAMP/bin

Installing PHPUnit on MAMP 2.1.3 (Mountain Lion)

亡梦爱人 提交于 2019-12-18 06:54:16
问题 I'm struggling with this issue. Here's what I've tried : $ cd /Applications/MAMP/bin/php/php5.4.10/bin/ $ sudo ./pear channel-update pear.php.net $ sudo ./pear upgrade pear $ sudo /Applications/MAMP/bin/php/php5.4.10/bin/pear channel-discover pear.phpunit.de $ sudo /Applications/MAMP/bin/php/php5.4.10/bin/pear channel-discover pear.symfony-project.com $ sudo /Applications/MAMP/bin/php/php5.4.10/bin/pear install phpunit/PHPUnit So it seems to work, but phpunit is actually installed in

Installing PHP OAuth in MAMP environment

旧时模样 提交于 2019-12-18 03:45:35
问题 I have tried following ALL tutorials out there on getting PHP OAuth extension installed under the MAMP environment, but can't get it to load for some reason. I am using MAMP 1.9 with PHP 5.3.2 The most recent tutorial I was following was: http://lifeofadev.com/2011/03/09/mac-os-x-installing-oauth-so-into-xampp-mamp/ Does anyone else have experience with getting this to work? Thanks! Dennis 回答1: After upgrading to MAMP 2.0 for PHP 5.2.17 I followed these steps to install the oauth module

MySQL error in a procedure #1351 - View's SELECT contains a variable or parameter

会有一股神秘感。 提交于 2019-12-18 02:56:26
问题 PhpMyAdmin doesn't accept the parameters "id_jugador_IN" inside the procedure. This is the procedure we're executing: SET GLOBAL event_scheduler = 1; use traviandatabase; DELIMITER $$ DROP PROCEDURE IF EXISTS sp_monitoritzacio_jugador $$ CREATE PROCEDURE sp_monitoritzacio_jugador(IN id_jugador_IN INT(10)) BEGIN CREATE OR REPLACE VIEW dades_ususari AS SELECT j.nom AS jugador, j.sexe AS sexe, j.edat AS edat, j.correu AS correu, a.nom AS alianca, p.nom AS pais, c.nom_ciutat AS ciutat FROM

Why MAMP doesn't display errors?

落花浮王杯 提交于 2019-12-17 23:03:59
问题 OK this is getting very frustrating. MAMP used to display errors but then stopped. I decided to do a fresh install of it as I couldn't figure it out. I check my PHP version, running 5.4.4 and go to that folder and change the php.ini to this: error_reporting = E_ALL display_errors = On Still no errors showing. I go through all the folders and change all php.ini files, just in case. Nothing. I fix the forced error and dump out phpinfo() , check the error section and display_errors is Off. What

MAMP time between seeing live changes

这一生的挚爱 提交于 2019-12-17 21:44:52
问题 I'm using MAMP server and wondering why changes I make to the PHP files are not instantaneously displayed when I page refresh (in browser). Is there a way to set this up? There are no caching settings on MAMP. Either I have to wait 20 seconds or stop and restart the server. 回答1: The solution is uncommenting lines in the php.ini file which can be found in /MAMP Directory/bin/php/php5.5.3/conf/php.ini Comment out Opcache: [OPcache] ;zend_extension="/Applications/MAMP/bin/php/php5.5.3/lib/php

MAMP mysql broken root user [closed]

戏子无情 提交于 2019-12-17 19:46:20
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I've read many threads on SO and a few other places and haven't been able to fix my mysql installation in MAMP. Background. I made a change to my root user the other day in an attempt to get a local service to connect properly. After rebooting my machine phpmyadmin in mamp no longer displayed any of my dbs and

Mysql server on MAMP won't start

 ̄綄美尐妖づ 提交于 2019-12-17 17:34:35
问题 My Mysql server on MAMP won't start. This is the error: 161224 00:15:00 mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error_log.err'. 161224 00:15:00 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql56 161224 00:15:01 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended I already tried the following commands: > ps aux | grep mysql > lsof -i > sudo killall -9 mysqld But the server is still not working. Help ? 回答1: Remove the