Questions tagged [mamp]

MAMP is a pre-packaged solution that installs Apache, MySQL, and PHP/Perl on OS X with minimal configuration. The default settings are generally insecure and most *AMP packages are meant for development and not production use. Because of this, you should refer to the faq before asking questions about MAMP and verify that your question is actually on-topic before you ask it.

Filter by
Sorted by
Tagged with
22 votes
1 answer
37k views

How to set up multiple websites / virtual hosts on MAMP? [closed]

How do you configure MAMP to manage/host multiple websites at one time for development?
philfreo's user avatar
  • 997
9 votes
1 answer
20k views

Why does my RewriteLog not work?

I have an .htaccess which looks like this: RewriteEngine on RewriteLog "/Applications/MAMP/logs/rewrite_engine_log" RewriteCond %{REQUEST_URI} !/(index.php|css|images|js)/.*$ RewriteRule (.*) /...
openfrog's user avatar
  • 235
9 votes
3 answers
4k views

DNS Lookups for local MAMP web server URL taking 5+ seconds

I'm running MAMP on OS X 10.7. I've set up a virtual host in Apache, like so: <Directory "/sites/example.com/"> Allow From All AllowOverride All </Directory> <VirtualHost *:80> ...
Ian's user avatar
  • 1,518
7 votes
3 answers
12k views

How to enable non-error Apache log on MAMP

How can I enable non-error server logging on MAMP (or, am I totally blind, and is it already enabled by default?) So far, I can only find the error logs for Apache, MySQL and PHP in /Applications/...
user avatar
7 votes
4 answers
5k views

Upgrading PEAR from 1.9.0 to 1.9.1 fails

I'm willing to install phpunit 5.3 with MAMP 1.9 and there for I need to upgrade PEAR to version 1.9.1. The current version installed is 1.9.0. When I try the to upgrade I get the following: sudo ...
tom's user avatar
  • 535
6 votes
2 answers
981 views

Case sensitive folder names in MAMP

I'm not sure what site this question should be on, please feel free to move as necessary. I am working on a project in PHP where I need to differentiate between the folders 'a' and 'A'. When I run the ...
JJJollyjim's user avatar
3 votes
5 answers
4k views

How can I set up a local host with a reasonable name, different than "localhost:80"?

I find it confusing to work on my site locally when there's something like "localhost:80" in the adress bar. It would be much better to have something like "mydomainoffline.com" which then maps ...
openfrog's user avatar
  • 235
3 votes
3 answers
3k views

Will a mac-mini running MAMP Pro work for production environment?

I have a Mac-Mini running MAMP Pro. Can it be used for a production web server for serving a MAMP stack web site? Is it secure enough / powerful enough to manage?
Chuck Burgess's user avatar
3 votes
2 answers
8k views

MySQL won't start in MAMP server

I had MAMP successfully running in one of the user, but since I have created a new user to separate things between two developers, its throwing tantrums. I am pretty new to Mac itself but managed to ...
Aman Alam's user avatar
  • 149
3 votes
2 answers
1k views

MAMP - Host name changes to first vhost SSL entry for project with two localhosts [closed]

I have two projects that are a copy of each other on my Mac with MAMP. They both have SSL pages. However, whenever I hit the a secured SSL page of project 2, the base_url or host changes to project1 ...
user1322092's user avatar
3 votes
2 answers
2k views

Mac OS X 10.6 Setup for Apache/MySQL/Perl

I just got a new Mac and have been trying to setup a local development environment for my perl applications for a few days now with no luck. I'm getting no where fast so I hope someone else who has ...
Russell C.'s user avatar
3 votes
1 answer
1k views

Pecl complies .so extensions for OSX built-in PHP and not MAMP [closed]

I've installed the sphinx binaries and libraries and am now trying to install the PECL sphinx module. My system is running OS X 10.6 with MAMP 1.8.2 installed. I try to install sphinx using the ...
Camsoft's user avatar
  • 981
3 votes
1 answer
845 views

Logging mysql queries under MAMP Pro (MAC) [closed]

I am using MAMP Pro 2.0.5 (latest) and copied the my-medium.cnf file and placed it into /mamp/conf/ and renamed it to my.cnf under the [mysqld] i placed log = /Volumes/www/public/logs/mysql-queries....
Exploit's user avatar
  • 165
2 votes
2 answers
37k views

Attempting to end anything running of port 3306

I have MAMP Pro running on OS X 10.7.2 and it uses port 3306 for MYSQL. It was running fine until this morning when I installed a trial of WebStart. I subsequently did not like Webstart and quit and ...
Danny Englander's user avatar
2 votes
3 answers
822 views

MAMP Vhosts Slow

Ever since I started using Vhosts with MAMP, page requests have been quite slow. It takes 3 to 5 seconds or more to process a page request. I'm wondering if it's the way my hosts or vhosts files are ...
dcolumbus's user avatar
  • 475
2 votes
3 answers
7k views

MAMP - Unable to turn off PHP E_STRICT error reporting [closed]

For some reason, MAMP won't allow me to turn off E_STRICT warnings. I've tried everything from changing the value explicitly in php.ini to error_reporting(E_ALL & ~E_STRICT) in my file... to ...
Mark G.'s user avatar
  • 131
2 votes
1 answer
753 views

How can I configure Apache+PHP on OS 10.7.5 to make 0755 directories writable?

For years I used MAMP on my Macintosh computer to run a development environment with Apache, MySQL, and PHP. When I upgraded my machine to OS 10.7, I decided to use OS 10's native Apache and PHP in ...
John Stephens's user avatar
2 votes
1 answer
782 views

MAMP extension won't load

I recently installed MAMP Pro 1.9.5. I followed several tutorials online explaining how to enable memcached. I was able to compile correctly with no errors. I added memcache.so to my php.ini as ...
ehftwelve's user avatar
  • 171
2 votes
2 answers
7k views

How to enable SSI for all html files?

I use MAMP to develop sites. I have each site in it's own folder in the htdocs folder. I manage one site that I need to use ssi directives on, because the host doesn't allow php includes. I've un-...
Jamie's user avatar
  • 123
2 votes
1 answer
2k views

SVN errorcode=2 Could not open the requested SVN filesystem

I've got MAMP running (XAMP for OSX), and I'm trying to setup subversion. When I go to the freshly created repository in my browser, I get: <D:error> <C:error/> <m:human-readable ...
Gerrit's user avatar
  • 123
2 votes
2 answers
3k views

Can't access mamp server with internal IP

Running MAMP 2.1.1 on my 10.7.2 OS X Mac Pro. I can access server if I choose a port (such as the default 8888) but changing it to port 80 causes it to not work, except with localhost. This used to ...
Chris's user avatar
  • 21
1 vote
3 answers
3k views

What is the proper way to create virtual directories in Apache without using symlinks?

I am coming from IIS and setting up virtual directories there is so pleasantly easy. You just right-click and add a "virtual directory" pointing to any path you like. This relative path gets reflected ...
TruMan1's user avatar
  • 435
1 vote
1 answer
10k views

Can you SSH with MAMP?

I'm not sure whether you can connect to MAMP via Terminal (as SSH) that works like a server when SSH'ing into a webserver. I like to do this with MAMP but not entirely sure if you can - Google didn't ...
MacMac's user avatar
  • 2,141
1 vote
1 answer
584 views

MySQL can't write to tmp folder, how do I find this tmp folder

MySQL (using MAMP) says it can't write to Can't create/write to file '/private/var/folders/AO/AOyal7b0GU844L1VJDb3Bk+++TI/-Tmp-/#sqld035_6_0.MYI But using finder I can't find this location. How can I ...
Ankur's user avatar
  • 2,379
1 vote
3 answers
2k views

Install ColdFusion 9 into MAMP Pro on OSX

I'm using this video tutorial to try and install ColdFusion 9 with MAMP Pro on my Macbook, for development purposes. It works when installing CF8; but with both the 32 bit and 64 bit versions of CF9, ...
Adam Tuttle's user avatar
1 vote
1 answer
6k views

Is a local-only MAMP installation secure?

I just installed a basic MAMP server (on a Macbook Air 11" running OSX Lion) with no settings changed except for some php.ini things like "memory", "file_upload", etc that are more script related. I ...
Rock's user avatar
  • 113
1 vote
2 answers
4k views

memcache.so, wrong architecture in Unknown on line 0 in MAMP

I install memcache from pecl and I got memcache.so. After that I add in php.ini but I got a error. [12-Aug-2010 13:02:24] PHP Warning: PHP Startup: Unable to load dynamic library '/...
saturngod's user avatar
  • 837
1 vote
2 answers
2k views

How do I install PHP with JSON and OAuth on Mac Snow Leopard? [closed]

I want to use the Dropbox API via this library, http://code.google.com/p/dropbox-php/. I installed MAMP, and then I tried sudo pecl install oauth but I got the following. >>>> ...
meilas's user avatar
  • 119
1 vote
2 answers
4k views

How to make MAMP PRO / XAMPP secure enough to serve as production webserver? Is it possible? [closed]

my task is to setup a MAMP webserver for our website in the easiest way so it can be managed by my colleagues without experience in server administration. MAMP PRO is an excellent solution, but some ...
Andy's user avatar
  • 265
1 vote
1 answer
1k views

How to compile PHP / PECL APD for MAMP / Snow Leopard?

When I'm trying to use pecl to install apd it compiles the extension for a 64 bit system. Since MAMP needs extensions in i386 mode, apache won't load this apd.so file. So how can I force pecl to ...
user avatar
1 vote
3 answers
6k views

How to set up hosts file for local environment?

I'm trying to create subdomains on my localhost and am way out of my territory... I'm running MAMP on my Mac OS X and I thought/think I had/have to do the following: (Assuming I want to create me....
user avatar
1 vote
1 answer
7k views

MAMP Virtual Hosts not working

So I'm pretty sure I set up my Virtual Hosts right, but they don't seem to be working. Yes, I have uncommented the vhosts include from httpd.conf. All I get when I try to access the virtual hosts ...
CourtDemone's user avatar
1 vote
2 answers
2k views

.htaccess rewrite with drupal and clean urls on mamp stack

I'm having an unusual access problem with Drupal running on a MAMP stack. The Drupal install is working fine, so I know it's not a Drupal issue. "Clean URLs" are working fine for anything with a ...
TwstdElf's user avatar
1 vote
1 answer
2k views

Memcache on MAMP 1.9 [closed]

I am trying to make memcache work on MAMP 1.9. In the process I have successfully installed memcached and tested it. But I can't find a way to install memcache.so on my MAMP. Any suggestions. Thanks
Gautam's user avatar
  • 215
1 vote
1 answer
308 views

What to use as a file server with a web interface and user management on MAMP

I want to set up file/photo sharing for a largish group of friends and family. Flickr, Picasa etc. are not optimal solutions because setting up accounts, sharing albums and navigating privacy settings ...
Timo's user avatar
  • 160
1 vote
0 answers
905 views

MAMP Websites taking more than 20-25 secs to load, but sometimes

I'm using MAMP Pro on my Mac (Monterrey) and since a couple weeks I've been having a strange problem. After several tests I've been unable to find out where the problem is, but this is what happens. ...
Arturo's user avatar
  • 11
1 vote
1 answer
218 views

Encoding error on just one server

I run several servers, one for development, one for client testing and another for production. I have a character encoding issue (the old "question marks in diamonds" appearing instead of ...
John Korchok's user avatar
1 vote
0 answers
525 views

CURL Cannot Resolve Host running on MAMP

I have a MAMP PRO set up with local SSL certificates for a url named qph-plugin.local which is running a wordpress site. When I view the site in the browser on my machine it all works as expected. ...
Paul's user avatar
  • 131
1 vote
1 answer
314 views

Importing old mediawiki SQL dump MAMP

I've been tasked with importing an SQL database to setup up with a local mediawiki website (v1.14). We were sent a SQL file with an image file to upload to the local site. After setting up mediawiki ...
TheCodingArt's user avatar
1 vote
1 answer
853 views

MAMP goest to 100% CPU on Magento installation

I'm trying to move my Magento development to MAMP and getting problem with 100% usage on httpd both for new installations (after Create Admin Account) page and for existing stores moved from test ...
Zifius's user avatar
  • 111
1 vote
2 answers
7k views

Trying to mirror a legacy PHP 5.3.29 app on CentOS 7 (strange I know!)

I'm wondering if any linux/php gurus out there could help. Long story short, i've been tasked with creating a mirror/backup of a website which is made in PHP 5.3.29 to mitigate any risks if the ...
rosey85uk's user avatar
0 votes
1 answer
2k views

Wrong php_sufix config variable in MAMP [closed]

I've just installed MAMP and I'm trying to install the Mongo extension via pecl but I'm getting an error: jonesy:bin Billy$ sudo pecl install mongo downloading mongo-1.4.4.tgz ... Starting to ...
iamjonesy's user avatar
  • 259
0 votes
2 answers
8k views

How to stop only the Mysql server in MAMP PRO?

I need to stop Mysql server in MAMP PRO and keep Apache running. How can I do that ? There is a stop button available but it stops all services.
chubbyk's user avatar
  • 883
0 votes
1 answer
3k views

MAMP MySQL won't start

I uninstalled MAMP completely, downloaded fresh copy of MAMP 2 from the MAMP website, did a clean install. However, when I try to start mysql, I get the following error log 111120 21:37:49 ...
Tony's user avatar
  • 131
0 votes
3 answers
5k views

How to upgrade PHP to 5.3 on latest MAMP

I've been struggling with this for quit a while... Googling all sorts of things has brought up anything useful so far. I have MAMP 1.8.4 install on my MBP running snow leopard - i want to upgrade to ...
Ken's user avatar
  • 181
0 votes
2 answers
862 views

Apache 2.4 ignoring basic authentication

I'm currently searching a solution to re-enable basic authentication with .htpasswd file in Apache 2.4. Everything was ok using Apache 2.2 and then I upgraded to MAMP Pro 6.4 that implements Apache 2....
Franck Sartori's user avatar
0 votes
1 answer
2k views

How to restore Mysql database from .frm and .ibd files on localhost

I have a VPS server that was hosting a WordPress that has crashed and I think must be deleted. No backups were made. I managed to setup a rescue mode and salvage WP site data via FTP. Because Mysql ...
lex's user avatar
  • 1
0 votes
1 answer
146 views

OpenSSl certificates management

I'm trying to complete a entire process of request/verify of a trusted timestamp. I'm working with a TSA server and i'm able to create a valid timestamp request. I know that it's valid because tsa ...
user31929's user avatar
  • 101
0 votes
1 answer
675 views

Python with mamp

I have a MAMP 1.9 install on Lion and would like to start using python with it. Mainly to learn and develop django sites. I am very new to python in general. In my research I found that I either need ...
applechief's user avatar
0 votes
1 answer
1k views

turning my dynamic IP into a static one using a VPS?

I'm doing development with MAMP on OSX and need to get around a problem I'm having due to my dynamic IP. I'm using a payment API which has an IP whitelist even for development calls and I keep having ...
significance's user avatar