Link to home
Create AccountLog in
PHP

PHP

--

Questions

--

Followers

Top Experts

Avatar of curiouswebster
curiouswebster🇺🇸

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



Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of Gerwin JansenGerwin Jansen🇳🇱

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

SOLUTION
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

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
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

ASKER

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
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

SOLUTION
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

ASKER

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.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Scott FellScott Fell🇺🇸

So go to localhost.  Did you try that?


SOLUTION
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

ASKER

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
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

ASKER

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/




Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


SOLUTION
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

ASKER

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?

Avatar of Scott FellScott Fell🇺🇸

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


SOLUTION
Avatar of Scott FellScott Fell🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of curiouswebstercuriouswebster🇺🇸

ASKER

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.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Scott FellScott Fell🇺🇸

 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.



PHP

PHP

--

Questions

--

Followers

Top Experts

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.