mamp-pro

PHP Artisan Migrate with MAMP and Unix Socket

依然范特西╮ 提交于 2019-12-20 09:45:02
问题 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

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

MAMP Pro 3.05 on Mavericks updated to Yosemite - Apache does not start

我只是一个虾纸丫 提交于 2019-12-17 05:24:26
问题 I have been running MAMP Pro 3.05 successfully in Yosemite up to DP4 on a partition that was a clean install of Yosemite. I now have run the installer for DP5 over my Mavericks install, and now that MAMP Pro install will not start Apache. It says to check the logs, but I don't see anything pertinent. I'm assuming that since this is a pre-existing install, something in its config is wrong for Yosemite's Apache. Any ideas? 回答1: MAMP Folks just posted the workaround Workaround for the 10.10

Coldfusion/MAMP Pro/Windows 10

核能气质少年 提交于 2019-12-13 00:14:18
问题 Documentation on setting up Mamp to work with Coldfusion in a Windows environment seems to be pretty limited, so here I am. I have both MAMP PRO and COLDFUSION 11 set up on a WINDOWS 10 computer. Mamp is pointed to the correct Document Root folder and both Apache and MySQL services start correctly (I assume). When I navigate to 'localhost' in my browser, all I can see is the ColdFusion source - not a rendered page. I assume ColdFusion isn't running in this instance. The .htaccess file seems

Memcached is installed on PHP 5.3.28 on MAMP 3.0.3, but not working

不打扰是莪最后的温柔 提交于 2019-12-11 13:00:11
问题 I have a Drupal site running on fresh MAMP PRO 3.0.3 install with the PHP version 5.3.28 on OS X Mavericks 10.9.2. I installed memcache with pecl install memcache and added the extension=memcache.so line in php.ini under the extensions section, but still Drupal shows multiple You must enable the PECL memcached or memcache extension to use memcache.inc. errors on top of the page. phpinfo() on the Drupal root directory tells me that the configuration file loaded is at: /Library/Application

How to automate MAMP Pro virtual host creation through a command-line shell script?

放肆的年华 提交于 2019-12-11 11:51:53
问题 I'm writing a script to create virtual hosts in Mamp Pro. I want them to be created and appear in the GUI next to the normal ones I've created manually through the GUI. I've found the following questions on SO: Automatic Virtual Hosts with MAMP Pro? Add MAMP Pro Vhosts with script Here are my findings, so far: I've found out that the hosts appearing in the MAMP Pro GUI are found in: ~/Library/Application\ Support/appsolute/MAMP\ PRO/settings3.plist ; I've tried editing it but I can't seem to

403 Forbidden Error on MAMP

无人久伴 提交于 2019-12-11 10:27:27
问题 I try to run my local applications on MAMP PRO. Since now i run MAMP and everything works fine. Now i've changed to MAMP PRO because of the possibilities to generate more hosts and send email from local applications. Now i have the problem that i can't access files in a directory. I have checked indexes under Hosts->Extended which should solve this problem. But it doesn't. I've found many articles but not anyone that solves my problem. I'm also not a specialist on server, but i think there

Mamp Pro 4 HTTP and HTTPS

对着背影说爱祢 提交于 2019-12-09 13:21:26
问题 Is it not possible in Mamp Pro 4 to have both http and https? The application I am working on requires both depending on the page. I must be missing something as it makes no sense when I enable SSL only https works and http then stops working. I tried going through the http.conf, but really have no idea whats causing this. I think it just generates the vhost for https only and then removes http. Doesn't even look like you can manually edit it. Any suggestion would be great. 回答1: Well to

Mongo PHP Driver with MAMP

烈酒焚心 提交于 2019-12-08 06:24:47
问题 I spent 2 days trying to install mongo php driver on a Mac 10.8 with MAMP (2.2), but it's almost impossible... I've tried: Installing Mongo Driver on MAMP and this Mongo PHP Driver 1.2.10 with MAMP I have the 5.4.19 php version selected on MAMP. I have installed the mongo driver doing: sudo pecl install mongo I have no errors, but once I restart MAMP I got this error on the loading process: PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20090626

Mongo PHP Driver with MAMP

*爱你&永不变心* 提交于 2019-12-07 18:48:29
I spent 2 days trying to install mongo php driver on a Mac 10.8 with MAMP (2.2), but it's almost impossible... I've tried: Installing Mongo Driver on MAMP and this Mongo PHP Driver 1.2.10 with MAMP I have the 5.4.19 php version selected on MAMP. I have installed the mongo driver doing: sudo pecl install mongo I have no errors, but once I restart MAMP I got this error on the loading process: PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 The output of