Installing Drupal on a local MAMP setup (mac)
JaymeNYC - July 12, 2008 - 00:39
I've been tryin to do this for a while, I've searched the site aswell as the net and I always get stuck. It seems like alot of the directions skip around by not tellin me where to put the drupal files or when I was watchin the drupal vid it went into a ftp and onto a remote server. Is there good clear directions on this or can any1 help?

I assume you have MAMP from
I assume you have MAMP from http://mamp.info installed and working. Unless you have made any configuration changes this is what you should do:
1. Download latest Drupal
2. Unpack and move the folder drupal-6.3 to /Applications/MAMP/htdocs
3. Rename the folder to simply drupal (/Applications/MAMP/htdocs/drupal)
4. Start MAMP
5. Open your browser and go to http://localhost:8888/drupal
Thanks! The shortest and
Thanks! The shortest and most helpful explanation :)
got it workin!
permissions issues
Hi,
I am trying to test Drupal under MAMP on Mac Os X.
Despite many attempts, I still have the same error message :
Yes, I did check the permissions. I granted full access to all (me, staff, everyone).
Still, it's not working.
Any idea?
Thank you!
I think Mamp has it's own
I think Mamp has it's own permissions setup as well, what I did was made myself the owner of files instead of the default www/mysql, it warns you not to but I do it anyway, local testing is not much security concern on a mac and mamp secures itself from prying eyes anyway.
Also with every drupal install, I modify the permissions starting from the root folder on down and give myself ownership, drupal files permissions are flakey, so by doing this, I make sure I have ownership on every single file.
enabling permissions for the whole drupal folder
I ran into this problem installing Drupal 6.9 on a Mac, with MAMP running. We did this for the entire drupal folder:
chmod -R 777 drupal
and then the install worked.
------------------------
Liz Henry
liz@bookmaniac.net
How do you run chmod on a local installation?
I have this same problem but I can't figure out how to change permissions on a local installation. Where would I type the chmod command?
Thanks
totally stuck....
I have followed these directions (and the more convoluted versions elsewhere) and keep running into the same problem:
I will go thru step five, then drupal starts its install.
Step 3 of the provided drupal set up is database name, dB user name, dB password.
I set up a database in myPHPadmin. I enter that info and the page just reloads.
To test what happened if it was incorrect info, i entered the wrong info and it brings up a message that the info is incorrect. So i feel safe assuming that i am not messing up my databasename, user name, and password.
(i am using "root" and "root" for my user and password as they were provided by MAMP.)
i'm so new to drupal, php, etc... so if anyone can help, i would be grateful.
best
gjc
Stuck the same way...
Did you ever find an answer to this? I have been stuck on that same install page and cannot figure out a way to get past it. Created new databases, new useres, etc. - Always results in this same condition, exact same thing as you.
>I will go thru step five, then drupal starts its install.
>Step 3 of the provided drupal set up is database name, dB user name, dB password.
> I set up a database in myPHPadmin. I enter that info and the page just reloads.
Edit your settings.php file
You can get around this by editing line 92 in your settings.php file to include your database name, user and password details. This line here:
$db_url = 'mysql://username:password@localhost/databasename';So if the MySQL user account is 'admin', password is 'secret' and your databasename is 'mywebsite', then the new line would look like
$db_url = 'mysql://admin:secret@localhost/mywebsite';Then hit the 'Please try again' link and the install should continue.
Thanks!
Hey newkid
Thanks and more thanks! That did the trick and within 2 minutes of reading your post I finally have my drupal setup running.
Earned yourself some karma today!
Thanks again,
ed
Wow! After days of
Wow! After days of frustration this worked. Would love to know why this is happening with MAMP and drupal. My first install was great, then I had problems and tried to reinstall....everytime i entered username and password the page just refreshed and did nothing. Now, after changing that one line, it just worked! Thanks Mistresskim.
Thank you so much
I finally got this thing to work. Eveything else I tried just ended in errors...
This is simple and it WORKS!
Well done.
Keith
help, please - installing Drupal 6.3 on MAMP
The Drupal installer requires that you create ./sites/default/settings.php as part of the installation process, and then make it writable. If you are unsure how to grant file permissions, please consult the on-line handbook.
The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. For more information, please see INSTALL.txt or the on-line handbook.
I have 6.3 setup on mamp,
I have 6.3 setup on mamp, works good, even took off the :88888 so I can use it like a normal domain.tld
I put all my files under user/Sites/drupal, then change the document root in mamp, I'm using mamp pro, if you need a copy of it let me know.
Weird - Works, but broke my Mysql Server
Got everything to work, pretty nifty and neat. But for some reason the MAMP start page is no longer working saying it's unable to connect to mysql.
cannot connect to server from MAMP start page
I'm experiencing the same problem and error when trying to open the MAMP start page. It was working just fine, then stopped connecting to mysql. Any ideas on how to resolve this problem would be appreciated.
Same thing
I moved the Drupal files into the root, not a subfolder and Mamp worked fine.
Solved this in a different way
See http://drupal.org/node/459376#comment-1619738
Strange behavior
Clicked the start button on MAMP and I get http://localhost:8888/install.profile=default. Any idea what is wrong? I have tried everything but can find a way to get the startup page to open so i can acces myphpadmin.
Try
Edited, misunderstood request.