Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 votes
2 answers
68 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....
user avatar
0 votes
0 answers
47 views

Best software and practices on how to test a static website locally with URL rewrites

I recently switched from Apache to Nginx on my production server. My websites have internal links URLs that are rewritten. When I was using Apache, my URL rewrite rules for my websites (HTML/CSS/PHP/...
user avatar
  • 273
0 votes
1 answer
18 views

after installing MAMP and coping WordPress in htdocs file trying to go to localhost:888/wordpress gives me error

so after installing MAMP and coping WordPress in htdocs file trying to go to localhost:888/wordpress as all videos on youtube shows it should take me to my dashboard but instead gives me error: This ...
user avatar
0 votes
1 answer
731 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 ...
user avatar
  • 1
1 vote
1 answer
78 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 ...
user avatar
1 vote
0 answers
344 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. ...
user avatar
  • 131
0 votes
1 answer
101 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 ...
user avatar
  • 101
0 votes
1 answer
834 views

Issues using PHP Trader Functions: Call to undefined function trader_ma()

I'm attempting to install the Trader extension on my mac, currently using MAMP. I believe the install was done correctly but can't seem to use them. Here is my feedback from terminal sudo pecl ...
user avatar
  • 101
-4 votes
1 answer
4k views

ERROR 2002 (HY000): Can't connect to local MySQL server after mysql upgrade

I was running mamp on el capitan 10.11.3. I decided to update mysql to version 5.7.11, so I ran this: tar xfvz mysql-5.7* echo "stopping mamp" sudo /Applications/MAMP/bin/stop.sh sudo killall httpd ...
user avatar
0 votes
0 answers
9 views

MAMP for Mac version 3.4 mysql general query log not working [duplicate]

This is not a duplicate of another question. I really like MAMP as it simplifies development and am just trying to figure out how to enable general query log. I am trying to enable the general query ...
user avatar
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 ...
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 ...
user avatar
  • 239
1 vote
1 answer
289 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 ...
user avatar
-1 votes
1 answer
4k views

How do you upgrade the MYSQL version that Mamp Pro uses? [closed]

I'm currently using Mamp Pro for a local dev environment on Mac OSX Mountain Lion. Ideally I'd like to update the version of mysql. How do you upgrade the MYSQL version that Mamp Pro uses?
user avatar
  • 123
2 votes
1 answer
750 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 ...
user avatar
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 ...
user avatar
  • 21
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 ...
user avatar
0 votes
1 answer
259 views

Issue with virtual hosts in Mac OSX Lion with MAMP

I'm having issues connecting my virtual hosts. Here's my code. Is there anything missing here? In httpd.conf NameVirtualHost * <VirtualHost *> ServerName site1.local DocumentRoot "/Users/Dan/...
user avatar
  • 113
-3 votes
3 answers
4k views

Why can't other computers access my web server on 127.0.0.1? [closed]

I'm trying to setup a a virtual host on a machine in my office I've added 127.0.0.1 urs.local to the hosts file, and added this to config NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:...
user avatar
  • 194
0 votes
1 answer
648 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 ...
user avatar
2 votes
2 answers
31k 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 ...
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 ...
user avatar
  • 113
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 ...
user avatar
3 votes
1 answer
805 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....
user avatar
  • 165
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 ...
user avatar
  • 415
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.
user avatar
  • 833
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 ...
user avatar
  • 131
0 votes
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 ...
user avatar
-2 votes
2 answers
283 views

Multiple websites on the same network [closed]

I'd like to set up a series of local development servers using the same IP address and different domain names, although I'm not sure about how to set it all up. I created the following domains ...
user avatar
  • 1
0 votes
2 answers
2k views

Hosts file map localhost to existing domain not subdirectory* updated

I am locally developing a website via MAMP and rather than messing with the changing all of my links and etc later on I opened up etc/hosts and added this line 127.0.0.1 localhost mysite.com so ...
user avatar
2 votes
3 answers
706 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 ...
user avatar
  • 465
1 vote
1 answer
812 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 ...
user avatar
  • 111
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 ...
user avatar
  • 149
9 votes
3 answers
3k 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> ...
user avatar
  • 1,468
1 vote
1 answer
512 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 ...
user avatar
  • 2,369
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 ...
user avatar
  • 1,881
2 votes
1 answer
678 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 ...
user avatar
  • 171
0 votes
1 answer
2k views

Virtual Host Joomla and MAMP

I have been trying for some time now to set up a virtual host for the new Intranet we are putting in at my organization. It is on a separate server from the one running our website. I have set up the ...
user avatar
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 ...
user avatar
  • 131
6 votes
2 answers
935 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 ...
user avatar
0 votes
1 answer
452 views

MAMP PRO - "Network Error (dns_server_failure)" when setting up VHosts

I'm trying to set up a virtual host locally on MAMP PRO; I've done this before on other machines and it worked like a charm. This time, however, when I try to point my browser to the path defined in ...
user avatar
  • 1
0 votes
1 answer
505 views

PHP MAMP email stopped sending

I'm working on a simple registration email. I'm using MAMP (free) with PHP. I was getting emails from my code before. Now I get nothing. Here is a test code that doesn't send the email either. &...
user avatar
0 votes
1 answer
5k views

Can't get PDO MySQL driver to work on PHP

Trying to install Vanilla 2 locally using MAMP i got the error: "You must have the MySQL driver for PDO enabled in order for Vanilla to connect to your database". When I check phpinfo() I see: --...
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-...
user avatar
  • 123
0 votes
2 answers
756 views

MAMP Apache server suddenly stopped working - no errors in the logs

It worked fine and then it just stopped working. version 1.9.4
user avatar
7 votes
4 answers
4k 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 ...
user avatar
  • 515
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 ...
user avatar
0 votes
1 answer
502 views

access localhost stopped working after I installed MAMP

I had configured my machine all access localhost I need some accessed "http://*.localhost.com:3000," * - I put the names of some projects and instances. I needed to run a PHP server and installed MAMP ...
user avatar
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?
user avatar
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 '/...
user avatar
  • 827