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.
72
questions
1
vote
0
answers
907
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.
...
0
votes
2
answers
863
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....
0
votes
0
answers
108
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/...
0
votes
1
answer
296
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 ...
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 ...
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 ...
1
vote
0
answers
526
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. ...
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 ...
0
votes
1
answer
1k
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 ...
-4
votes
1
answer
5k
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 ...
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 ...
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 ...
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 ...
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 ...
-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?
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 ...
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 ...
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 ...
0
votes
1
answer
274
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/...
-3
votes
3
answers
6k
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:...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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.
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 ...
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 ...
-2
votes
2
answers
355
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 ...
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 ...
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 ...
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 ...
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 ...
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>
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
490
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 ...
0
votes
1
answer
531
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.
&...
0
votes
1
answer
6k
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:
--...
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-...
0
votes
2
answers
814
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
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 ...
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 ...
0
votes
1
answer
555
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 ...
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?