Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

I installed MAMP on Mac. What's next?

I installed MAMP and clicked the app, and it opened. I see options for Apache and nginx. I prefer apache, for starters.


What else did I get with the install of MAMP?


PHPMyAdmin? How do I open that? SQL Workbench?


What about the WordPress part of the mix? Does that come installed? Or, do I now install WordPress?


Please explain what steps I need to take to get a simple WordPress demo page running.


Also, does the Pro version provide anything important?


Thanks



ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

Ok, I will read those docs after work today.

My goal is to get a simple "Hello World" demo WordPress app running on my Mac. But, a demo which uses all aspects, including MySql.

I will have more later...

Thanks.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What is the URL for me to see that PHPMyAdmin is working? This is part of my frustration. I do not have that URL handy, but I am certain MySql is on my PC and that so is PHPMyAdmin.

I see that localhost:8000 produces an "It worked!" page, which means Apache is running.

If the Database exists on my Mac (and it once did), then I am almost ready to create a comprehensive "It worked!" or "Hello World" page, which ties together:

MySql
Apache
WordPress

So that I can verify all element are installed and integrated
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
When I start MAMP on my Mac, I get this window.

User generated image
Only Nginx seems to start. That's likely because Apache is running on port 8000.

I see no other windows pop up, except for MAMP Pro.

So go to localhost.  Did you try that?

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, localhost:8888 fails.

I have another installation on this machine....

If I pressed the button to "Set Web & MySQL ports to 80 & 3306", how would I then open MySql? Or PHMyAdmin?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I meant to say that Apache is running on http://localhost:8000/

 stopped Nginx, then reset ports to 8080, and I got this when i restarted Apache from MAMP, at 8080...

http://localhost:8080/

It seems like progress.

Doesn't this mean there is no index.php or index.html found?


User generated image

MAMP says that MySql is hosted at 8889, but I got nothing at:
http://localhost:8889/



SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Great! I now see my new html file I dropped in there, "Hello from htdocs", at localhost:8080 /MAMP/htdocs/index.html

How about accessing MySql?

Please read what I already provided!!!!!!  It is all there.  :)

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for all the help. But, I can not find the URL to open MySql.

I see the port is set (by MAMP) to 8889. But that does not work after localhost.

I found index.php in this folder,

Applications/MAMP/tmp/mysql/

and I stuck that into htdocs, but got this on refresh:


Fatal error: Uncaught Error: Call to undefined function check_mysql_running() in /Applications/MAMP/htdocs/index.php:17 Stack trace: #0 {main} thrown in /Applications/MAMP/htdocs/index.php on line 17

I am really puzzled. I always was able to go to a URL and edit MySql. It was just so long ago, I can not recall that URL.

 But, I can not find the URL to open MySql....  ....  see the port is set (by MAMP) to 8889. But that does not work after localhost.


That may be because you have something else at that port. Or you didn't follow the link. See that it goes to http://localhost:8888/phpMyAdmin5/. If it is the port, try setting a different port and see what happens. Before you set the port, make sure you have turned off your server.  Set it, and turn it back on.  Then go to the link I pointed out, not directly adding in the port. Also note that just going to the port for PhpMyAdmin is not the full answer.


In Mamp, once you start, just click the "WebStart" link with the airplane icon.





Before you start anything, make sure you do see, "Start" in mamp and not "Stop" to make sure it was fully turned off. I found sometimes I have to click the "Stop" a couple of times where I click stop, it appears to try to stop, but it still shows the link for "Stop" instead of "Start" and clicking it a 2nd time did the trick.