mamp

MAC OS X: MAMP Environment & Virtual Hosts

I'm not sure what's happening here, but I'm running MAMP 1.9 on MAC OS X. In my httpd.conf file, the DocumentRoot is set to the default htdocs path. Within the htdocs folder, I've created a number of "subsites" in an effort to set them up as Virtual Hosts.... I can get to the paths specified, but they all seem to default to the first o...

How do I rename MAMP web server?

Is there any way to change my MAMP server address from localhost to anything else, or am I stuck with localhost as the name? ...

WordPress 3 on MAMP OS X

Hi, Hoping people can assist me with the following questions re: WordPress 3 on MAMP OS X: 1) Under my installation of MAMP, under the htdocs directory, I have a WordPress site installation, say called Site A. I now want to create a new WordPress site, for Site B, do I need to download a new install of WordPress and then set this up u...

Wordpress question – Why am I getting this username/passwd prompt?

Hi all, Having a bit of config trouble in Wordpress and wonder if anyone can help. This has been bugging me for a while, but it could be a simple issue that I've sorely overlooked. I am trying to work locally on a Wordpress site (through MAMP) that was built by a colleague, but after downloading the files, importing the database, and t...

Permissions in a MAMP development enviroment

Hello I use MAMP as my local development environment. A persistent problem I have is reliably setting folder/file permissions. For example, I currently have an images folder I need 666 permissions on. In the more info menu in the mac finder my permissions are read & write. However in the Dreamweaver permissions dialog the same folder ...

redirect all links to include a segment in front of the main url

I setup a local website using mamp, there are other sites I run in development on the same mamp install and I use links on my site like <a href="/about">About</a> It will direct the user to http://localhost/about, but I need it to direct to http://localhost/chuck/host chuck is the folder that this site is within, file path: /Applicatio...

console.log symlink can not read log files

I made symlinks to log files stored inside of my user directory in a folder called apache.logs, however, console.log can not read them, the log files come up with a bunch of garbage. I found out how to fix this in the past but have been unable to figure it out. any ideas? thank you for your help ...

WordPress register_nav_menu suddenly stopped working locally

Ok, this is a biggie. Here's the deal: I have upwards of 50 installs of WordPress running on MAMP Pro locally. For some of them I use local/whatever, for others I set up virtual hosts as whatever.local/. WordPress has never had any problems. Yesterday, installed a copy of WP 3.0.1 (fresh, straight off the server), and started templating...

How do I find out how macPorts stole my port:80?

I had MAMP installed (and working fine) then I tried to install mongoDB through macPorts. macports then began installing a bunch of dependencies. after that, http://localhost started giving an "It Works!" screen. after rebooting to see if it might fix it, I found that I could not start my MAMP server. console said this: 9/13/10 1:20:54 ...

MAMP on OSX 10.5.8 - httpd.conf file being overwritten on when I click start servers

Hi, I am using MAMP pro on osx 10.5.8 and everytime I launch MAMP, it overrides what I have set in the httpd.conf for user. It overwrites it with my current user name, and MAMP wont work unless I have both user and group set as www -- Does anyone have any idea as to how to fix this problem? Any help would be much appreciated! Thanks ...

Mongodb and MAMP

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? ...

Has anyone successfully altered MAMP's cgi-bin (or docroot) directories in the conf.httpd?

I'm working in MAMP and need to create an alias to my project dicectory so that I don't have to move my code out of my IDE project and into the MAMP folder. I've configured the conf.httpd as specified but am getting 404s and 403s. There don't appear to be any settings in the MAMP gui settings that would alter where it points cgi-bin to...

Getting Ruby on Rails to work with MAMP Pro

I've been looking for hours on how to get this to work but have still come up with nothing. Right now it's difficult because to run Phusion Passenger I need to have web sharing enabled (on my mac) but then I can't run MAMP PRO because it needs web sharing to be turned off for it to work. So I'm constantly going back and forth and turning...

Is it possible to create root domains with MAMP?

Currently, my workflow is to develop locally, and then place on remote server as key intervals. This has worked fine for a while, but since starting to do more AJAX work, I am finding it difficult to work with roots and hosts dynamically, and am having to write redundant code into my JS in order to make the same file work both locally an...

.htaccess rewrite with drupal and clean urls only partially works?

Hey all, I am having an unusual access problem with Drupal running on a MAMP (Mac OSX, Apache, MySQL, Php) 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 single-level url, but nothing with 2+ path levels. For example: example.com/foo, example.com/bar, etc....

ob_get_clean() is not working on MAMP but works on WampServer?

Can anyone explain why the following script behaves differently on two different platforms? Script: <?php echo "hello!"; $view_content = ob_get_clean(); echo "'".gettype($view_content)."' >".$view_content."<"; Output 1 (on WampServer 2i - php v5.3.0 - Windows 7 x64 ): 'string' >hello!< Output 2 ( on MAMP 1.9 - php v5.3.2 - OSX ...

How to open a website hosted in MAMP on the Mac?

I've installed MAMP on my Mac. Then, I put my website into the htdocs folder of MAMP. I started the Server. But how can I launch the website in Safari now? What's the URL to the website, when it's named "testsite" for example? ...

Access phpmyadmin over lan using mamp

Dear stackoverflow users and contributors, We are trying to set up a Mamp Pro installation ( on Mac ) which allows us to access PhPmyAdmin over the lan. We can access the htdocs folder to edit it's contents using standard sharing so that is not a problem. The problem is that we can't seem to the access the PhPmyAdmin of this installati...

How to Install phpunit 3.5 on mac with MAMP

Hi All, I'm trying to install PHPUnit 3.5 on Mac OS X with MAMP. I did install PHPUnit 3.5 via PEAR of MAMP. This is all correctly and phpunit is located /Applications/MAMP/bin/php5.3/lib/php/PEAR/PHPUnit. The executable is located in /Applications/MAMP/bin/php5.3/bin/. But when I want to execute phpunit it doesn't do anything, even wh...

How to share a site you've set up locally with the web

Hi, I've recently set up a new site that runs a database via MAMP. It's actually an expression engine site and I'm developing it at localhost:8888. I was wondering if there's an easy way to share the site with someone else over the web (like a client) via my IP address while my local server is running. Not sure if there are security is...